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
Hi again,
I found a solution.
The XOR component or OR component should have only on input path to work well. (I had two input path, the main path and the return of the loop).
I had to add a factice script task component before it to merge the input path.