![]() |
![]() |
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.
Each Rule is enclosed in brackets “()” when there is more than one Rule.
Each Rule is separated by an “OR”, except if it is last in the sequence.
The “NOT SPECIFIED (Option)” and “SPECIFIED (Option)” check ensures that the Option has been specified (or not) for the Asset, but does not check the Value.
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
The organisation must be licensed to use Options and Rules functionality.
Options used must be ticked on the Asset - Header tab.
Options can only be defined for Asset Types in the Asset Type Tree.
Option Values for configured Options can only be defined in the Asset Tree for Assets.
Rules can only be linked to In-Place Asset Types, Linked Asset Types, Components, Linked Components, Tasks, Task Spares, and Task Special Resources in the Asset Type Tree.
Rules are evaluated for each sub item in an Asset model, that is for In-Place Assets, Components, Tasks, Task Spares, and Task Special Resources.
The formula used to evaluate a Rule is specified on the Rule - Details tab and saved in canonical format (having been reduced to consistent operators).