Tip! An Inclusive gateway must have at least one output expression that evaluates to True. A Default expression is mandatory.


See Xml\Tutorial\5001 Advanced topics\0101 Working with gateways\InclusiveGateway.xml for the file used in this tutorial

Example

The example prompts the user for an animal (myAnimal), and subsequently routes the flow to one of the 3 actions. At least one of the output expressions should evaluate to True. A Default expression in mandatory. 



Output expression that evaluates to True if myAnimal.Name <> 'Lion'

Output expression that evaluates to True if myAnimal.Name = Tiger

Output expression that evaluates to True if the other output expressions evaluate to False



Output

When you specify 'Tiger' as myAnimal, this will be the execution flow: