| ILOG Rules for .NET User Guides > Rule Studio > Writing Rules > Conditions |
Conditions |
PREVIOUS NEXT |
The condition part of a rule specifies under what conditions the actions in the action part of the rule will be carried out. Conditions are represented by whatever appears after if, ending at then (which signals the beginning of the action part of the rule).
For example, in the following rule, the call is redirected to a member of the Gold team only under the condition that the customer category is Gold:
if the customer category is Gold then redirect the call to a member of the 'Gold team';
This is a simple condition that is either true or false; the action is carried out if this condition is true.
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |