Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-4027

Assigning constant value to subprocess vars defined in input set fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • jBPM 6.0.0.CR1
    • jBPM 5.4
    • Runtime Engine
    • None
    • Hide
      • create a process only containing a reusable subprocess
      • define a variable in the DataInputSet that is present in the subprocess (in my case "simpleString")
      • use Assignment to set this variable to a certain value: simpleString="something fishy"
      • check the log for ERROR and use task handler in subprocess to check variable content
      Show
      create a process only containing a reusable subprocess define a variable in the DataInputSet that is present in the subprocess (in my case "simpleString") use Assignment to set this variable to a certain value: simpleString="something fishy" check the log for ERROR and use task handler in subprocess to check variable content

    Description

      When trying to use assignments to set a variable in a reusable subprocess to a constant value an ERROR is logged and no value is written even though the variable was also defined in the input set.
      The log output reads:
      15:26:09,857 ERROR [stderr] (pool-14-thread-1) Could not find variable scope for variable _DB053E40-6756-4883-8CA1-BA7CC2320A54_simpleStringInput
      15:26:09,858 ERROR [stderr] (pool-14-thread-1) when trying to execute SubProcess node
      15:26:09,858 ERROR [stderr] (pool-14-thread-1) Continuing without setting parameter.

      The exact same approach is successful when using the input mapping of a simple task. It is also successful when mapping from another variable to a variable of the subprocess.

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            nilsmiehemorpho Nils Miehe (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: