Expand my Community achievements bar.

Loop Gateway and Branch

Avatar

Not applicable
Hi,



In a process, I designed a loop. In this loop, there is a gateway with two branches.



I would like to know if each branch share the same instance of process variables.



I m' not sure to be clear.



Thanks
8 Replies

Avatar

Level 10
The gateway branches still execute in the same process instance and the variable scope is at the process level.



Jasmin

Avatar

Not applicable
So I must use subprocess if I don't want to have issue with my variables ?



Thanks

Avatar

Level 10
Or use different variables for you branches.



Jasmin

Avatar

Not applicable
Ok but if a branch A use a form variable for example and is not yet completed but the branch B is completed in the first turn of the loop.



The second begin and the branch A will take the same form variable that previously so there is an issue no ?



Thanks for your help

Avatar

Level 10
Yes, you could run into issues.



Jasmin

Avatar

Not applicable
Ok, so I must continue to use subprocess and so lose the ability for my end users to track the entire process.



Thanks

Avatar

Level 10
Unfortunately to be on the safe side you might have to do that.



Jasmin
page footer
This widget could not be displayed.