You are viewing limited content. For full access, please sign in.

Question

Question

Help understanding parallel gateways

asked on October 6, 2022

Hi,

 

From the help file on gateways, what I understand is that a parallel gateway is like an 'and' statement. So therefore with my flow, it should wait for all 3 approval tasks to complete before moving on to the end tasks. However, once I complete one approval task, it triggers the end tasks. What am I not understanding here?

Thanks

0 0

Answer

SELECTED ANSWER
replied on October 6, 2022

You have no gateway on the outflow merge.  If you want to wait for all three then the outflows from the approvals need to feed into an inclusive gateway, then into your parallel gateway.

1 0
replied on October 6, 2022

James is correct. The "waiting" portion happens on the outflow side and that is only possible with an inclusive gateway.

The parallel will send each path through as it comes in, which is what you want for your first gateway, however, if you want to wait until every path is complete, then you would need to add an inclusive afterward to merge them back into a single path and force it to wait for each active path to complete.

Additionally, you can't have a gateway with multiple inputs and multiple outputs.

Gateways can be used to merge incoming paths into a single path or split a single path into multiple, but it should never try to do both.

3 0

Replies

replied on October 6, 2022

Great!

Thanks that makes much more sense. Also the gateway not being able to have multiple inputs and outputs is very helpful, I think that was mainly where I was tripping over.

 

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.