Rule conditions
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 decision, or data that is the result of a subdecision. 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 sets a message that says to redirect a call to a member of the Gold team only if the customer category is Gold:
if the category of customer is Gold then set message to "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 applies the action statement in the then part only if the condition is true.