An exclusive split makes a decision based on a condition and follows one and only one of the outgoing flows. For example, you need to use an exclusive split to show different order forms for the customers with different grades, or to prevent a blocked customer from making orders.
There are two ways to configure a condition for the exclusive split:
- With Variables/ Attributes ( for example, you can use it to create different flows for an attribute of the enumeration type)
- With an Expression (for example, you can create a comparison with it)
2.1 Configuring the Condition with Variables or Attributes
The following elements can be used as an exclusive split condition in the Variable/Attributes tab:
- Variable with Boolean data type
- Variable with Enumeration data type
- Attribute of Boolean type
- Attribute of Enumeration type
The parameters and entities which you would like to use in configuring the condition of the exclusive split should be present in the microflow, either as input parameter or as a result of an activity.
2.2 Configuring the Condition with an Expression
You can also configure the condition by writing the expression. For more information, see Microflow Expressions.
The number of available cases depends on the selected Condition.
For the Boolean type of the parameter or attribute, two values are possible: true and false.
The number of cases available for the enumeration type depends on the corresponding enumeration constants/values. There is also the empty case available for enumeration. If the enumeration parameter or attribute of an object is unassigned, the sequence flow with the caption (empty) is followed.
The caption describes what happens in this element.