Parallel Gateway join does not wait for all the tasks to be completed

Parallel gateway join does not wait for all the tasks to be completed. It proceeds when the first task is completed.

If I try to include a condition which checks whether all the tasks are completed to avoid the issue, it ends with no outgoing sequence flow found to continue the process.

I have the below flow:

Inclusive gateway starts

T1 T2 T3 T4 T5

when T5 is validated starts another Parallel workflow

T6 T7 T8 T9 T10 → will be created or not based on a condition in the sub process to avoid another inclusive gateway which creates a nested one and not working properly.

All the tasks are created as subprocess.

when all the T6 to T10 tasks are completed I will proceed with another task.

Could you please help to find out what I am missing here.

I created a simple workflow to identify the problem. but it works fine.

Pls suggest on how to identify and resolve the problem.


Can you share the XML here? A parallel gateway join always waits until all executions arrive in it. Do note that parallel gateways do NOT take in account conditions (as per the spec).