Negation

UDP ›› Rule Conditions ››
Parent Previous Next

Negation

All the expressions used in the conditional part of a rule (see Rule Condition) can be negated by adding the NOT keyword in front of the expression (in this case the expression must be enclosed in brackets), for example:

   

-          NOT (EXISTS Account WHERE (Account.State = 'OPEN'))  

-          NOT (Account.Balance BETWEEN 100 AND 200)  

-          NOT (Account.State IN 'OPEN', 'CLOSED' AND Account.Balance > 100)