Rule Builder > Managing Decision Tables > Condition Column Editing Operations > Setting Value Checking Rules |
Setting Value Checking Rules |
PREVIOUS NEXT |
Cell values can be checked against a set of rules that can be established using the Decision Table Editor. Value checking rules can be set for condition columns as well as action columns.
For an interval (for example, the isBetween
predicate), a specific checking rule can be applied to verify that the minimum is less than the maximum (ascending order), as shown in Figure 12.16, or that the minimum is greater than the maximum (descending order). This checking is available for all comparable types (currently Number and Date but not String).
Note |
The interval checker is not available on action columns. |
For each argument of the predicate associated with the condition column, a checker can be set to check the corresponding cell value against the checking rule.
For the min
argument of the isBetween
predicate, the checking rule in Figure 12.17 checks that the value is > 0
.
In the example in Figure 12.18, the rule checks that the argument is in the (Silver, Platinum)
list, meaning that value is equal to Silver
or Platinum
.
When a cell value violates a checking rule that may have been set, and if the checking of values is enabled at the table level, the cell value is underlined and a tooltip can be displayed.
Two examples are shown in Figure 12.19.
|
|
Example 1: Cell error tooltip | Column header error tooltip |
| |
Example 2: Interval cells error tooltip and column header error tooltip |
Defining the Default Column Labels in Decision Tables | Decision Table / Tree Predicates | Editing the Condition Column Test Expression
Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |