Gateways control how a process flows from one activity to another. They are used to make decisions, split a process into multiple paths, merge paths back together, or synchronize parallel work. They allow you to represent business rules and process-routing logic without performing work themselves. Instead, they determine which sequence flow the process follows based on defined conditions or gateway behavior.
In process, gateways are displayed as a diamond shape:
Use gateways when a process must:
- Follow different paths depending on data or user input.
- Execute multiple paths at the same time.
- Wait for multiple paths to complete before continuing.
- Route work based on events or conditions.
Studio Modeler supports the following gateway types:
| Gateway Type | Icon | Description |
|---|---|---|
| Exclusive Gateway |
|
Routes the process to a single outgoing path. Use an Exclusive Gateway when only one outcome can occur. Conditions are evaluated and the process continues along the first matching path. |
| Parallel Gateway |
|
Creates or synchronizes parallel paths in a process. Use a Parallel Gateway when multiple activities should execute simultaneously or when the process must wait for several parallel activities to complete before continuing. Parallel gateways do not evaluate conditions. |
| Inclusive Gateway |
|
Routes the process to one or more outgoing paths. Use an Inclusive Gateway when multiple conditions can be true at the same time and all matching paths should be executed. |
| Event-Based Gateway |
|
Routes the process based on the event that occurs first. Use an Event-Based Gateway when the next step depends on a message, signal, timer, or other event rather than process data. |