Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Loop Gateway and Branch

_jerome_dinnat_
Level 5
Level 5
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
Jasmin_Charbonn
Level 10
Level 10
The gateway branches still execute in the same process instance and the variable scope is at the process level.



Jasmin
_jerome_dinnat_
Level 5
Level 5
So I must use subprocess if I don't want to have issue with my variables ?



Thanks
Jasmin_Charbonn
Level 10
Level 10
Or use different variables for you branches.



Jasmin
_jerome_dinnat_
Level 5
Level 5
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
_jerome_dinnat_
Level 5
Level 5
Ok, so I must continue to use subprocess and so lose the ability for my end users to track the entire process.



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



Jasmin