Show TOC

Procedure documentationAdding Nested Conditions Locate this document in the navigation structure

 

You can build a rule with multiple conditions. The logical operators and, or help you create nested conditions.

Procedure

  1. In the Rules Navigator view, expand the project node and select the ruleset or flow ruleset.

    The ruleset or flow ruleset overview page opens in the Editor Window.

  2. Under the Rules section, select the rule and choose Open.

    The rule opens in the Editor Window.

  3. Under the Conditions section, choose Add Condition (Add Condition).

    The default rule condition: Operation.isSuccessful() Equals true appears.

  4. Choose the LHS value:Operation.isSuccessful() and in the drop down menu choose Set Dynamic Value.

  5. In the Expression Editor dialog box that appears, select an alias or definition from the list and choose Apply.

  6. Choose the comparator:Equals and choose a comparator in the drop down menu.

  7. Enter the RHS value after the comparator and choose Enter.

    The new condition is defined.

  8. Choose Add Condition (Add Condition).

    The rule condition: and Operation.isSuccessful() Equals true appears.

  9. To change the logical operator, choose and and in the drop down menu, choose the logical operator.

  10. Define the condition using the above steps.