Show TOC

Creating and Editing an Exclusive Choice GatewayLocate this document in the navigation structure

Use

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.

For more information, see Rule Flow

Prerequisites

You should have created a rule flow .

Procedure
  1. 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.

  2. In the rule flow editor that appears, choose the Gateway button in the Palette and in the menu that appears choose Exclusive Choice .

  3. Drag and drop the exclusive choice gateway into the rule flow editor.

  4. 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.

  5. 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 Start of the navigation path Window Next navigation step Show View Next navigation step  Other End of the navigation path .

    • In the dialog box that appears, expand the General node and choose Properties . Choose OK .

  6. Choose the default condition row and choose the Edit button.

  7. In the editor that appears, the default condition appears.

  8. 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.

Adding a Local Definition
  1. 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.

  2. Choose the default definition name and in the text box that appears, enter a valid name for the definition and press Enter .

  3. 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.

Adding an Action
  1. Choose the Actions tab and in the editor that appear, choose add a new Actionand 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:

  2. Depending on the action type you choose, the syntax appears.

    Note

    You cannot change the action type once you have selected it.

  3. To edit values, choose the existing alias or definition and in the drop down menu choose an alternative definition or alias.

  4. You can also enter your desired value in the inline text box.

  5. Save the changes.