Parallel Gateway Activity
The Parallel Gateway activity enables the synchronization of multiple process flows and the creation of parallel execution paths. Unlike other gateway types, it evaluates all outgoing conditions, ensuring all defined paths are executed concurrently. This activity is crucial for modeling scenarios where multiple branches must run in parallel and then converge before the process continues.
| Field | Description | Requirement |
|---|---|---|
| Flow order | Defines the sequence in which outgoing flows are internally represented and managed within the process XML. This order can be adjusted using UI controls (e.g., up/down arrows) during process design. | Optional |
Action Types & Examples
Initiate Parallel Paths
- Format:
boolean - Example Result:
true
Synchronize Parallel Paths
- Format:
boolean - Example Result:
true
Implementation Examples
Field Setup - Activity Name: ParallelGateway_ProcessTasks - Description: Splits the workflow to execute multiple tasks concurrently and then waits for their completion.
Execution Parameters - GatewayType: Split - WaitCondition: All incoming paths complete
Technical Notes
Parallel gateways are designed to model scenarios requiring the concurrent execution of multiple process paths. They operate without explicit conditions, as all outgoing paths are always activated simultaneously. To converge these parallel branches back into a single flow, a subsequent Parallel Gateway must be utilized. The overall process execution will only proceed past the joining gateway once all preceding parallel paths have successfully completed.