View Update Rule ConceptsAn object specification (condition) can be any of the following: A selected object in the view or a Knowledgeware rule.
The following view actions are supported by the view rules:
Result of area fills based on the rules:
View Update Rule Execution OrderIf the view has more than one rule, the execution order of these rule is based on the following order. All the rules with object specification as selected object are executed first. Then the rule with object specification as KWE script are executed. If the rule type is same, the execution of the rule is based on the order in the rule list of tree. For Example: If the rule has the following rules in order:
Pipe 1 is colored blue, pipe 20 is colored green, all pipes under fuel oil piping system to yellow, other pipe except pipe 1 and pipe 20 and under fuel oil piping system is colored to brown. If the above order is changed as shown below:
The result is as follows: Pipe 1 is colored to blue, pipe 20 is colored to green, other pipes except pipe 1 and pipe 20 are colored to brown. The rule 3 is ignored as the third rule is rule 4. The condition on the rule is true for all the pipe including the pipe under the fuel oil piping system. While updating the view, for the pipes under the fuel oil piping system the rule 3 is checked and it is true, the rule action area fill to brown is applied. Next rule (rule 3) is ignored.
Note:
You can reorder the rule using the arrows in the View Update Rule
dialog box.
| |||||||||