Rule Evaluation

Rules determine whether or not a specific item in an asset type model is inherited by an asset in the asset tree during synchronisation. When the rule evaluation passes, it means that the item will roll-out to the asset side.

The rule evaluation fields on an entity mean the following:

  • Rule Evaluation Passed: Indicates whether the rule evaluation passed.
  • Rule Evaluation Failed Reason: If Rule Evaluation Passed is false, then this provides a reason for why the rule evaluation failed. Possible values are:
    • Parent Failed
    • Rule Failed
    • Children Failed.
  • Rules Last Evaluated On: The most recent date on which the rules were evaluated.
  • Rule Detail Passed Reason: This is only on a regular asset task. It indicates why the task did not fail its rule evaluation, due to its children or details reaction. Possible values are:
    • All Type Collections Empty
    • Exclude Spares Tick Off With Non DC Items
    • Exclude Special Resource Tick Off With Non DC Items
    • Exclude Follow Up Task Tick Off With Non DC Items
    • Some Spares Eval True
    • Some Special Resources Eval True
    • Some Follow Up Tasks Eval True.

"Exclude Task" Logic

This is the logic behind excluding a task in the asset tree. It's based on these rule evaluation fields on a regular asset type task:

  • Exclude When All Spare Rules Fail
  • Exclude When Special Resource Rules Fail
  • Exclude When All Follow Up Task Rules Fail.

These fields identify when a task should not roll-out on the asset side. The fields are not on a regular asset task but they can be accessed and displayed on the regular asset task dashboard. On the asset side, the fields are read-only and are set by synchronisation. They are inherited from the asset type side and get their values form there.

When you create a new asset type task, the three rule evaluation fields default to true. The system will then sequentially run through a list of rules, starting at the top. If a rule is met, then the task is either included in the asset tree or it is excluded.

The rules are as follows:

  1. The task's Rule Evaluation Passed is false

  2. If the regular asset task's Rule Evaluation Passed is set to false, due to it's parent failing, for example, then the task should not be included in the asset tree.

  3. All three details are empty

  4. If the asset type task doesn't have any spares, special resources or follow up tasks, then the task should be included in the asset tree.

  5. The spares rule evaluation field is false and spares exist

  6. If Exclude When All Spare Rules Fail is set to false on the asset type task and spares exist on the task, then the task should be included in the asset tree.

    Please note, "exist" in this context means where the Development Status is not Deleted Confirmed, and the rule evaluation is either true or false (as it ignores the rule evaluation when Exclude When All Spare Rules Fail is set to false).

  7. The special resource rule evaluation field is false and special resources exist

  8. When Exclude When Special Resource Rules Fail is set to false on the asset type task and special resources exist on the task, then the task should be included in the asset tree.

    Please note, "exist" in this context means where the Development Status is not Deleted Confirmed, and the rule evaluation is either true or false (as it ignores the rule evaluation when Exclude When Special Resource Rules Fail is set to false).

  9. The follow up task rule evaluation field is false and follow up tasks exist

  10. When Exclude When All Follow Up Task Rules Fail is set to false on the asset type task and follow up tasks exist on the task, then the task should be included in the asset tree.

    Please note, "exist" in this context means where the Development Status is not Deleted Confirmed, and the rule evaluation is either true or false (as it ignores the rule evaluation when Exclude When All Follow Up Task Rules Fail is set to false).

  11. Any spares exist that evaluate to true

  12. If any spares exist on the regular asset task, where the rule evaluation is true (ie the rule evaluation passed), then the task should be included in the asset tree, irrespective of whether the special resources and follow up tasks failed their rule evaluations.

  13. Any special resources exist that evaluate to true

  14. If any special resources exist on the regular asset task, where the rule evaluation is true (ie the rule evaluation passed), then the task should be included in the asset tree, irrespective of whether the spares and follow up tasks failed their rule evaluations.

  15. Any follow up tasks exist that evaluate to true

  16. If any follow up tasks exist on the regular asset task, where the rule evaluation is true (ie the rule evaluation passed), then the task should be included in the asset tree, irrespective of whether the spares and special resources failed their rule evaluations.