A metric definition setup on a task record was not triggered intermittently, for example lets consider a metric definition for field "Assignment Group" on incident table. 

When there is any change on the incident record with the "Assignment Group" field, the defined metric definition, should create a metric record as shown in the below screenshot. 

However, this was not happening intermittently during specific scenario, i.e when a work-flow sets the "Assignment Group" field after record creation, this article will detail on this specific scenario.


Any supported release. 


The metric events are triggered by the out of the box provided business rule "metrics events" (""). 

Ideally, the metrics event business rule suppose to run after executing the "start workflow" out of the box business rule. So that, if there is any work flow activity which does update the record for which metric definition exists, system will trigger its metric definition.

However, both the business rules has the same execution order of "10000". Thus task record gets updated by the work flow in couple of seconds from the creation time.

Due to these reasons, there is a possibility that "metrics event" business rule execution might get missed and hence it will not create the metrics record. for that specific record update coming from work-flow. 


Set the order field value of "metrics event" business rule greater than "start workflow" business rule. 

Additional Information


Business Rules


Article Information

Last Updated:2019-05-21 11:43:18