Rule analysis settings

You can customize your rule analysis and automatically save reports as HTML files.

You can set the rule analysis to ignore conflicts between rules and allow domain violations for variables and attributes. These settings can improve the performance of the analysis.

When a report is generated, you can automatically save it as an HTML file to a folder in the decision service. Saving reports from different runs enables you to compare them as you work on the decision service.
To set the preferences:
  1. Open Rule Designer in Eclipse.
  2. Open the Preferences menu.
  3. Open Rule Analysis in the menu.
When the Rule Analysis window opens, you see the following settings:

Ignore conflicts between rules in tasks with exit criteria

This setting instructs the rule analyzer to ignore conflicts between rules in tasks that have exit criteria. When the setting is not selected, the rule analyzer reports conflicts between rules even if all the tasks that are selecting both rules have exit criteria defined.

When it is selected, the rule analyzer does not report conflicts between rules if all the tasks that are selecting both rules have exit criteria defined. However, if both rules are in conflict and are selected by some task without an exit criterion, the conflict is reported.

Allow domain violations for variables and attributes in rule conditions

This setting instructs the rule analyzer to allow domain violations for variables and attributes in rule conditions. When the setting is not selected, the rule analyzer assumes that variables and attributes in rule conditions and expressions in the rule action satisfy domains specified in the BOM. If a rule checks whether a variable might have a value outside its domain, the rule is reported as inapplicable.

When the setting is selected, the rule analyzer ignores the domains of variables and attributes in rule conditions and expressions in the rule action. If a rule checks whether a variable might have a value outside its domain, the rule is not reported as inapplicable.

Activate autosave for rule analysis reports

This setting instructs the rule analyzer to automatically save rule analysis reports as HTML files. When selected, a rule analysis job automatically saves a report to the folder reports/rule-analysis in the rule project in Rule Explorer. The report is named after the analyzed decision operation. When there are multiple reports for the same operation, they are given version numbers:

Image shows rule analysis reports.