Rule Builder > Business Rule Checks > Check Rule Consistency > Report Self-Inconsistent Rules

This check can reveal inconsistencies within business rules. The following two BAL rules, Inconsistent Rule (1) and Inconsistent Rule (2), cause an error of this type. See Figure 14.6 for the error text.
Note
In the case of self-inconsistent rules, the explanation of the problem is given in IRL.

Rule 1 should be "between 50 and 70":

Inconsistent Rule (1)

 If
         the age of the customer is between [70 and 50] 
 Then
         display the message ' Senior customer ' 

Rule 2 contains an obvious "name" conflict:

Inconsistent Rule (2)

 If 
         the customer name is "John" 
         and the customer name is "Bob" 
 Then 
         display the message ' This is John or Bob! ' 

images/check_inconsitent.png

Figure 14.6    Self-Inconsistent Rules

See Also

Business Rule Structure | Checking Rule Consistency


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