Adding a Condition

Context

You add conditions to a rule when you want the associated actions in the rule to be performed only when the conditions are satisfied.

For more information, see Rule

Conditions are always of the format: "LHS value comparator RHS value". In the rule editor, under the If section of a rule you can specify the LHS value and RHS value and choose an appropriate comparator.

Procedure

  1. Locate the ruleset , expand the ruleset node, the Rules folder and double-click a rule node.

    For more information, see Locating the Ruleset

    or

    Locate the flow ruleset , expand the flow ruleset node, the Rules folder and double-click a rule node.

    For more information, see Locating the Flow Ruleset

  2. In the rule editor that appears, under the If section, choose Add a new Condition.

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

  3. To edit the default rule condition:
    1. Choose the LHS value: Operation.isSuccessful() and in the drop down menu choose a Definition or an alias. You can also choose <Add a new expression> to add compound expressions.

      More Information: Working with Complex Expressions

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

      More Information: List of Return Types and Comparator Choices for Conditions

    3. Choose the RHS value after the comparator and in the drop down menu choose a definition or an alias. You can also choose <Add a new expression> to add compound expressions.

      More Information: Working with Complex Expressions