XOR Loop issue

Hello,

I have an issue with the XOR component in a looping process.

I want to loop on a list of objects and do action for each objects. I use an incremental variable to loop on this list.

I use a XOR component to loop. This is the condition :

 if pv!nbElement > pv!incemrentalVariable is true go the increment variable path and so on

else go to end node

Example : the list contains 1 object.

The incremental variable is set to 0.

The first loop iteration, I am well routed by the XOR to the increment variable path, the variable is then incremented to 1 and I am going back to the XOR.

The second iteration, I am stuck to the XOR with incremental variable with the value 1 and number of element equals to 1.

In the process details logs (process history tab), the last line displays that the XOR action is "Start".

I don't understand why I am stucked in the XOR.

Can anyone please help me and say me what I missed ?

  Discussion posts and replies are publicly visible