Adding a Conditional Clause Using the Condition Builder

The When section lets the user define additional conditions that must be met, in addition to the pre-condition defined in the Rule Template.

The builder determines the scope of the rule template, and allows the user to define individual conditional clauses based on that scope. Each conditional clause has one or more sub-clause, and a match operator determines whether the conditional clause is true when all sub-clause are true, or any one sub-clause is true, or none of the sub-clauses evaluate to true.

Procedure

  1. In the business rule editor, under the When section, click the artifact-name link and select the artifact you require.
  2. Click the operator-name link to select another operator, or a child artifact of the previously selected artifact, as you require. See Condition Builder Operators for list of supported operators.
  3. Enter the conditional value for the artifact in the empty box.
  4. Click the Add icon to another condition to the conditional clause, or click the Remove icon to remove the existing condition from the conditional clause, if you want.
  5. Click the Add Sub-clause icon to add a conditional sub-clause to the conditional clause, if you want.
  6. Click the match-operator link to select the matching condition for which the conditional clause evaluates to true. The values are:
    Option Description
    Match Any Conditional clause is true if any of the condition evaluates to true.
    Match All Conditional clause is true only if all of the conditions evaluates to true.
    Match None Conditional clause is true only if none of the conditions evaluates to true.
  7. Click the Save icon to save updates to the business rule.