Man illustrationFlower illustration

Docy

Exclusive gateway

Estimated reading: 2 minutes 144 views

Exclusive gateway is used for creating alternative paths within a process flow.


ExclusiveWhen it receives a special job from a specific process example, it makes jobs run in order.
Flow orderThe order in which the outgoing flows are evaluated and stored in the XML representation of the process. The order of the outgoing flows is managed by clicking on the up and down arrows icon.

After using this activity, the desired conditions are entered into the flow condition field in the arrow.

${existResult==true}

${countResult==3}

${existResult==true && countResult==3}

${timecontrol.contains(“h”) || timecontrol.contains(“s”) || timecontrol.contains(“m”)}

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.

CONTENTS