Hi, everyone!
I tried to set different types of variables to execution.
- variable “A” set up by script (execution.setVariable(“A”, “A”))
- variable “B” set up as output parameter of script task (value is just “B”)
I checked process instance after execution of script task(before the gateway) and everything is correct. Execution contains 2 variables - “A” and “B”.
Then I continue execution and look for process instance state after parallel gateway.
It contains “A” variable in main execution (process instance) and “B” variable in child execution. Why is it so?
Bpmn-diagram is here:
diagram_1.bpmn (6.1 KB)
P.S. this true not only for script task, but for output parameters of other types of tasks also (userTask, BusinessRuleTask etc)
UPD Thanks colleagues for finding this:
https://app.camunda.com/jira/browse/CAM-8072
https://app.camunda.com/jira/browse/CAM-9245