Hello All,
I have a scenario where I am calling the process from web API, to get this completed faster I have added few flows in parallel using AND gateway and these paths has to complete to return the response from web API hence I have applied activity chaining on both the flows.
With this implementation I have observed that, even we are having parallel flows using AND, because activity chaining, only one path is executing first and then other is starting which delaying time of execution.
Why chaining is over-passing AND functionality here? Any thoughts on this?
Please find below example process.
Thanks!
Priyanka
Discussion posts and replies are publicly visible
Activity chaining requires a deterministic path. In a parallel flow, multiple paths execute simultaneously, and the system cannot predict which one will complete first, making chaining unpredictable or impossible.
So does this mean system wait to complete any one path and then goes to another path?
If so then AND gateway is not serving the purpose here isn't it?
No , it means that you won't be able to predict what it will happen.
And yes , you must avoid the use of an AND gateway in this case, try to implement it in a sequential flow