Rule Builder > Business Rule Checks > Check Rule Consistency

In a business rule application that employs many rules, inconsistency can arise when new business rules are created, added, removed, or modified according to changing policy. The Check Rule Consistency option requires the Check Execution Rules option to be selected. Provided that any execution rule checks do not report errors, then all the rules in the ruleset are checked, even if some rules report a consistency error.

Before you can check rule consistency, you must have the Consistency Checking plug-in installed. This plug-in is available in the Rule Builder Developer and Modeler modes.

If the Check Rule Consistency option is selected, the checks you can make on one or more rules are:

All consistency options except the suboption Report Potential Rule Subsumptions are active by default. You can select any combination of these options.

The rule consistency check produces warnings except for self-inconsistent rules, which produce errors. In the case of warnings you can still execute a rule or package of rules. Consistency checking reasons on the rule source; therefore, not all messages result from a problem, and not all problems are detected.
Notes
  1. If the Check Execution Rules option is not selected, consistency checks are not performed.
  2. For the Check Rule Consistency option, only those rules specified in the Ruleset Extractor Class are checked.
  3. Except for the Report Rules With No Actions option, the consistency checks focus on the condition parts of the rules. It is the user's task to assess whether the checks report actual problems or not, depending on the rule action parts.
  4. You can also check the consistency of a rule that calls a method with an argument.

See Also

Checking Execution Rules | Rule Builder Plug-ins | Installing and Uninstalling Plug-ins


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