Hi Champ,
I have a OR gateway where we have two conditions . Although both are true, the token is only follwing one path and skipping the other. If I tried to exceute again a script task just before the OR gateway, that time it is follwing the other path. Not sure why this kind of behaviour.
Discussion posts and replies are publicly visible
Does this OR have more than a single incoming flow and is it executed more than once?
No, it is having one incoming path and it's not executed more than once
I somehow tried to resolve it by below but don't think it's the best way.
Actually, this is approximately the setup I would recommend. I never ever use OR gateways - if I want to allow more than one process flow to execute then I will do what you did, and launch them all and explicitly (via XOR node) use or bypass each individual option. The initial setup is a little bit more "busy" looking, but you will be much less prone to unintended errors and troubleshooting frustrations.
Ohk..This makes sense. Seems like OR gateway doesn't behave the way it's documented.
I agree that (assuming your conditions were met) the behavior was not what would be expected. But yeah, I literally never use it, preferring instead a more controlled approach like you have here.