Home > Process Behavior Procedures and Reference > Process Behavior Reference > Expressions and Activity Output
Expressions and Activity Output
Transactions entering an activity with two decision paths evaluate the expression. If the expression evaluates to 0 (No or False), the transaction takes the first decision path, otherwise the transaction takes the second decision path (Yes or True).
In the case of more than two output paths, an expression value of 0 selects the first decision path, a value of 1 selects the second decision path, a value of 2 selects the third decision path, and so on.
If the expression value is greater than the number of cases, transactions take the last decision path.
Non-integer values are truncated to the lower integer. For example, an expression with a value of 1.9 resolves to 1, in which case transactions take the second decision path.
If a type is used, the order of the members of the type correspond to the output paths. The first member corresponds to the first output path, the second member to the second path and so on.
Related Topics