Rule Evaluation

Purpose

Determine whether an item in the Asset Tree conforms to the Rules defined for its corresponding item in the Asset Type Tree and the Option Values specified for its parent Asset.

Parsing for Rules

The following grammatical checks are done when Rules are configured.

Automatic process to apply Rules

The following checks are done for each sub item when Rules are applied to items in the Asset Tree.

1.   The Rule is evaluated against the Options and Option Values defined for the Asset.

2.   If the result is “True” then Rule Evaluation Passed is set to “TRUE” and the sub item is inherited in the Asset model.
The exception is when the expression in “NOT (Expression)” is evaluated and applied when the result is “False”.

Failed items

The failed item with Rule Evaluation Passed is set to “FALSE” and its sub-items are removed from the Asset model.

Items that failed the rule evaluation can be viewed using the Asset Tree’s Display Options with Show Rule Evaluation Failed Objects ticked, and are displayed with “strikethrough”.

Refer to the SQL table “astRuleEvaluations” to find out why the item failed.

Business rules