Rule analysis settings
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.
- To set the preferences:
-
- Open Rule Designer in Eclipse.
- Open the Preferences menu.
- Open Rule Analysis in the menu.
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:
