Exclusive gateways
Tip! An Exclusive gateway allows exactly one output expression to evaluate to True
See Xml\Tutorial\5001 Advanced topics\0101 Working with gateways\ExclusiveGateway.xml for the file used in this tutorial
Example
The example prompts the user for a number (myNumber), and subsequently routes the flow to one of the 3 actions. If none or more than 1 output expression evaluates to True, an error is raised.
Output expression that evaluates to True if myNumber is less than or equal to 10 |
|
Output expression that evaluates to True if myNumber is equal to 11 |
|
Output expression that evaluates to True if myNumber is equal to 12 |
Output
When you specify 11 as myNumber, this will be the execution flow: