cancel
Showing results for 
Search instead for 
Did you mean: 

Behaviour Parallel Gateway without Join

rodolfobarbeiro
Champ in-the-making
Champ in-the-making
See the BPMN diagram in attachment:

[attachment=0]parallel_gateway.png[/attachment]

Note that the execution flow is divided by a parallel gateway and each path finish in a "EndEvent."

What is the execution behavior of this flow?

Only runs the "Service Task 1"?

Only run the "Service Task 2" and "Service Task 3"?

Or all tasks are executed?

Or error occurs on deployment?
5 REPLIES 5

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Why don't you give it a try 😉

rodolfobarbeiro
Champ in-the-making
Champ in-the-making
I tested!

All tasks are executed.

trademak
Star Contributor
Star Contributor
This is not really valid BPMN.
When you are using a parallel gateway to start multiple sequence flows I would also expect a parallel gateway to join these sequence flows.
I your example all tasks are executed because each sequence flow runs in its own process execution scope.

Best regards,

andregs
Champ in-the-making
Champ in-the-making
According to BPMN Method & Style (Bruce Silver, page 29):

Each outgoing path thus represents a parallel (concurrent) thread of process activity. Parallel paths may be joined downstream or may lead to separate end events. Each parallel path must reach an end event in order for the process or subprocess complete.

trademak
Star Contributor
Star Contributor
Hi,

Right, you CAN do it like this, but then all tasks are executed and the two execution paths eventually end in their own end event.

Best regard,