Exclusive Gateway Activity
The Exclusive Gateway activity enables the creation of alternative paths within a process flow. It directs the process along a specific route based on evaluated conditions, ensuring that only one path is taken at a time.
| Field | Description | Requirement |
|---|---|---|
| Exclusive | Defines the gateway's fundamental behavior to ensure only one outgoing path is activated based on evaluated conditions. | Required |
| Flow Order | Specifies the evaluation sequence of outgoing flows. This order is crucial for determining the path taken when multiple conditions might evaluate to true. | Required |
Action Types & Examples
Condition Expression
- Format: Boolean expression
- Example Result:
true
Implementation Examples
Field Setup - Configure the Flow Order of outgoing sequence flows using the up/down arrows to define evaluation priority.
Execution Parameters - Set condition on outgoing flow 1: existResult == true - Set condition on outgoing flow 2: countResult == 3 - Set combined condition on outgoing flow 3: existResult == true && countResult == 3 - Set complex condition on outgoing flow 4: timecontrol.contains("h") || timecontrol.contains("s") || timecontrol.contains("m")
Technical Notes
To decide which route the process follows, the conditions on the outgoing Sequence Flows are checked. The conditions are modeled as an expression and must always evaluate to a boolean value of true or false. It is important to understand that the conditions of an exclusive gateway are not modeled on the gateway itself but rather on the outgoing sequence flows.
If more than one condition evaluates to true, the path that was defined first is chosen. This should obviously never happen. If no condition evaluates to true, the process is stuck.
There is the possibility to mark a Sequence Flow as Default Flow. If you do so, the flow follows this route if no condition matches.