| ILOG Rules for .NET User Guides > ILOG Rule Team Server for SharePoint > Structure of Decision Tables > Columns |
Columns |
PREVIOUS NEXT |
The columns of a decision table define the conditions and actions that apply to the rules contained in the table. Condition columns are unshaded and appear on the left, while the action columns appear shaded and on the right:
If all of the following conditions are true: the State of residence of the customer is New York the age of the customer is at most 20 Then set the Accepted status to False Display the message "Age is below minimum for rentals in New York"
Conditions or actions can be split across more than one column of the table when the rule statement they represent contains more than one value. For example, the following condition requires you to specify a value for both <min> and <max>:
If the age of the customer is between <min> and <max>
In a decision table, this condition is represented in the Age column, but across two subcolumns, one for the value <min> and one for the value <max>:
You can merge or split the cells under subcolumns and change the operator. For example, the third row in the following table also deals with Age, but with the operator is more than (which has one value) instead of is between (which requires two):
How to change the operator is explained in section Editing Rules in Decision Tables (section Edit a Cell).
| Copyright © 1987-2008 ILOG S.A. All rights reserved. Legal terms. Documentation homepage. | PREVIOUS NEXT |