You can control process flow using gateways.
You can model the following types of gateways in your process diagram:
| Component icon | Gateway type | Description |
|---|---|---|
![]() |
Parallel (AND) | For splits: Use when you need to diverge the
process along more than one path. Use a parallel gateway when you
want the process to follow all available paths. For joins: Use to converge multiple paths into a single path after each path has completed its runtime execution. Use a parallel gateway when you want to converge all available paths. |
![]() |
Inclusive (OR) | For splits: Use when you need to diverge the
process along more than one path and you want to follow one or
more available paths based on conditions that you specify. For joins: Use downstream of an inclusive split to converge or join multiple paths into a single path after all the active paths have completed their runtime execution. The inclusive join looks upstream at each path to determine if the path is active, in which case it waits. Otherwise, it passes the token through without waiting. |
![]() |
Exclusive (XOR) | Use to model a point in the process execution where only one of several paths can be followed, depending on a condition. |
![]() |
Event | Use to model a point in the process execution where only one of several paths can be followed, depending on events that occur. A specific event, usually the receipt of a message, determines the path that will be taken. An event gateway must be followed by a certain set of events that must be configured as described in Modeling event gateways. |
Be aware of the following when using gateways:
For more information about implementing inclusive and exclusive gateways, see Example gateways.
To add gateways to a process diagram:
To continue to build a basic BPD by following the procedures in Basic modeling tasks:
In the text box that displays over the gateway, type the name: Merge and select Parallel Gateway from the available gateway types.
Adding the parallel gateways enables you to model the Approval and Validation steps so that the process flow continues after both of these steps are complete. If you click the Implementation option in the properties for the gateways, you can see that there are no conditions for Parallel gateways, which means all paths are followed.
Using the Sequence Flow tool, connect the Enter Expenses activity to the simple split and then continue to connect the process components so that your diagram looks like the following image: