Rule Builder > Business Rules > Working With the Rule Editor > Inverting a Condition Using the NOT Operator

You can negate parts of a condition using a negation operator. For example, the following condition returns true except when the customer category is Gold:

  If
      it is not true that the customer category is Gold

To negate part of a condition in the Rule Editor:

  1. Right-click the part of the condition that you want to negate.
  2. A drop-down list that includes the negation operator is displayed. The negation operator option appears as not... or ...not depending on the part of the condition you clicked on.
  3. Click the negation operator.
  4. The phrase it is not true that is placed before or after (depending on the context) the part of the condition you clicked on.

The negation operator becomes the Boolean not operator (!) when translated into IRL.


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT