
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2018 02:50 PM
I am trying to measure incident response duration by assignment group. I have a custom Boolean field named u_responded that I flip to true (via business rule) if we have responded to the incident. If the assignment group changes then I flip the field back to false, because I need to restart the clock for the new group. I am trying to measure the amount of time (duration) that the field is false. The problem is that when I define the metric, I don't know which field to monitor. If I monitor u_responded, then the metric script will not run when assignment_group changes. If I monitor assignment_group, then the metric script will not run when u_responded changes.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2018 05:55 PM
Unfortunately metrics can only track one field but you can use business rules to trigger a metric instance entry. For example, we use one business rule to capture the assignment group and time of assignment and a 2nd business rule to capture assigned to and the time of assignment.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2018 05:55 PM
Unfortunately metrics can only track one field but you can use business rules to trigger a metric instance entry. For example, we use one business rule to capture the assignment group and time of assignment and a 2nd business rule to capture assigned to and the time of assignment.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2018 06:07 PM
Is it ok to create two separate metric definition for those two fields or you want to track them in a single metric?
Please mark this response as correct or helpful if it assisted you with your question.