Condition negation
You can set a rule to perform an action when a condition is not true.
You can use these operators to test whether one or more conditions are not true.
- it is not true that
You use the operator it is not true that to negate a condition.
The following condition checks whether the customer is a member of the Gold category:
if the category of the customer is Gold then...
To check whether the customer is not a member of the Gold category, you can use the following statement:
if it is not true that the category of the customer is Gold then...
- none of the following conditions are true
You can negate a group of conditions by using the operator none of the following conditions are true. The logical operator and links the conditions in the group:
if all the following conditions are true: - the category of the customer is Gold - the age of the customer is at most 15 then...
The following if statement is true only if all of the conditions are not true:
if none of the following conditions are true: - the category of the customer is Gold - the age of the customer is at most 15 then...