Hi Experts,
Looking forward for your help.
We have created a process model where we are running two process flows simultaneously using "AND" Gateway and we want our last node to be executed only once. But the problem we are facing here is that the last node is executing twice due to the "AND" Gateway.
Is there any alternative solution so that the last node will be executed only once along with the "AND" Gateway?
Thanks
Discussion posts and replies are publicly visible
The second AND gateway has no purpose in your design as you join both flows in that preceding script task. To make the AND only continue when both flows come in, you actually need two flows coming in.
Stefan's answer is correct, as far as what you must do with your final AND gateway.
Additionally I noticed that your early end events would actually break the use of the final AND gateway if either of them are executed (meaning only 1 or possibly 0 incoming flows would arrive at the final AND). You need to resolve this. Basically the XOR gateways should send the flow further down the same path, instead of to their own soft END nodes.
Thank you so much Stefan for your response its really help me .
Thank you so much Mike for your response its really help me and more clear .