Avatar

Level 4

So, this is bizarre.

I set up a 4 branch Gateway.  Each branch has 3 operations.  The 1st activity in each branch is a sub process that has a user task embedded in it.

If the user tasks are completed so they don't occur at the same time, this all seems to work fine.  However, if Approver 1 and Approver 2 (any pair of Approvers, I just 1 and 2 in my example) submit their forms at the same time, I get results like I show below.

Note, the variable approver_01 is ONLY updated in branch 1 and the variable approver_02 is ONLY updated during branch 2.

approver 2 branch.png

approver 2 vars.png

A little hard to see, but you can see the approver_02 xml variable has a value after the 1st operation in branch 2.  This is correct.

approver 2 branch operation 2.png

approver 2 vars operation 2.png

At the end of the 2nd operation in branch 2, I should see still approver_02 with a value, and all others <empty>.  That is not what I see though.  Somehow the variable that I assigned to that branch is <empty> and a variable only assigned during branch 1 has a value.

How can that be?  There is something odd with concurrent operations that I am missing.