An exclusive choice gateway is a step within a rule flow and has at least two named branches, one of these being a default one. Each named branch has a condition associated with it. If the named branch is default then the condition associated will not be evaluated. It can optionally have actions and local definitions as in rule scripts so as to assist complex computations if required. It is not a reusable entity in Flow Ruleset.
You create an exclusive choice gateway to define a condition or a decision branch in a rule flow.
You should have created a rule flow.
Locate the flow ruleset (Where is my flow ruleset?), expand the flow ruleset node, the Rule Flows folder and double-click a Rule Flow node.
In the rule flow editor that appears, choose the Gateway button in the Palette and in the menu that appears choose Exclusive Choice.
Drag and drop the exclusive choice gateway into the rule flow editor.
Choose the exclusive choice gateway and in the menu that appears, choose the Create Connection icon and drag and drop the connection into an activity or another gateway.
Choose the exclusive choice gateway and in the Properties view and choose the Conditions tab.
Note
If you do not see the Properties view, choose
.In the dialog box that appears, expand the General node and choose Properties. Choose OK.
Choose the default condition row and choose the Edit button.
In the editor that appears, the default condition appears.
To edit the default rule condition:
Choose the LHS value and in the drop down menu choose a definition or an alias.
Choose the comparator: Greater Than and choose a comparator in the drop down menu.
Choose the RHS value after the comparator and in the drop down menu choose a definition or an alias.
Save the changes.
Note
You can also add local definitions and actions in an exclusive choice gateway.
Choose the Definitions tab and in the editor that appears, choose (add a new Local Definition) and in the drop down that appears, choose the relevant return type.
Choose the default definition name and in the text box that appears, enter a valid name for the definition and press Enter.
Choose the RHS value and in the drop down menu that appears enter a value in the inline text box or choose a definition or alias in the drop down menu.
Choose the Actions tab and in the editor that appear, choose (add a new Action)and in the drop down menu that appears in the drop down menu expand an action type node and choose a Definition or alias.
Note
There are eight action types as follows:
Depending on the action type you choose, the syntax appears.
Note
You cannot change the action type once you have selected it.
To edit values, choose the existing alias or definition and in the drop down menu choose an alternative definition or alias.
You can also enter your desired value in the inline text box.
Save the changes.