Rule conditions
You use rule conditions to state when to carry out the
rule actions in the then and else parts of a rule.
You define conditions in the if part of a rule. A
rule condition tests business terms, and produces an answer that is either true or false.
Conditions use data from the application that calls the rule. Each conditional test compares different business terms or values in the data. Different comparison operators are available for text, numbers, dates, business terms, and sets of entries. All conditions are either true or false. For example, the action in the following rule redirects a call to a member of the Gold team only if the customer category is Gold:
if the customer category is Gold then redirect the call to a member of the Gold team;
The if part in this rule contains one condition,
which can be either true or false. The rule carries out the action statement in the then part only if the condition is true.