| ILOG Rules for .NET User Guides > ILOG Rule Solutions for Office > Writing and editing rules > Write rule conditions > Combine multiple condition statements |
Combine multiple condition statements |
PREVIOUS NEXT |
When the condition part of a rule contains more than one statement, you can control whether the condition part of the rule is met if all or any of its rule statements are valid.
In this example, the action will be performed only when both of the conditions are valid:
If all of the following conditions are true: - the category of the customer is Gold - a member of the Gold team is available Then redirect the call to a member of the Gold team;
However, in the following example, the action will be performed when either the customer's category is Gold or the customer has been waiting for longer than five minutes:
If any of the following conditions is true: - the category of the customer is Gold - the customer has been waiting longer than 5 minutes Then redirect the call to a member of the Gold team;
all of the following conditions are true
any of the following conditions is true
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |