Check that a rule references the right data elements
Check that a rule references the right data elements
Whenever you compile your rules you should check that the rules reference the correct data elements.
Things to check for when you compile a rule document:
that any new attributes identified are exactly as you expect. For example, look in the New Attributes list for any attributes which have been created unintentionally because they are slightly different from pre-existing attributes.
that functions have been parsed correctly. You can do this by checking the red mark-up text at the start of rule. Functions that have not been written correctly will be parsed as new attributes (so also check for this in the New Attributes list).
that rules using entities and relationships correctly identify these components. Once again, check the red mark-up text to see that the rule has been parsed in the right way.
After you have compiled and built your rules you can use the Rule Browser to confirm that the right attributes are being referred to in the rule. For more information, see Check the structure of a rule.
If you have had to write rules within a constrained data model, you should also use the Check Data Model build validation to ensure that the rules conform to that data model. For more information, see Check the rulebase against an external data model.