Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to Stop Metric Timing on Resolved Incident?

BachAF
Tera Contributor

Hi All,

I want to capture metric data regarding the last group who resolved Incident. I created new metric definition: "Last Assignment Group to Resolve Inc" below:

find_real_file.png

So when an incident ticket is created, it is assigned to the first group, then when the incident gets assigned/escalated to another assignment group and get resolved, I want to see the "End" field, the "Duration" field get populated with data and the "Calculation complete" is set to true.

find_real_file.png

My goal is to have any Metrics on ticket should be marked to Calculation completed and timestamped appropriately when moving to Resolved.

Thanks in advance for your help.

1 ACCEPTED SOLUTION

BachAF
Tera Contributor

Thanks for your feedbacks, Adam Stout and Göran Lundqvist. Unfortunately, the customer has different requirement than SLA Breakdowns.

Anyway, I was able to find a work-around with the below steps:

1. Create New Metric: "Incident Resolved"

find_real_file.png

2. Create test Incident ticket:

find_real_file.png

 

3. Validate in Metric: "Assignment Group", 

find_real_file.png

Thank you.

Bachtiar

View solution in original post

9 REPLIES 9

Goran WitchDoc
ServiceNow Employee
ServiceNow Employee

Hi,

Why do you need to have a metric for this? Isn't the last group for this the one that is actually in the "assignment group" field on the incident itself? Why the need to store this in a metric?

//Göran
Feel free to connect:
LinkedIn
Subscribe to my YouTube Channel
or look at my Book: The Witch Doctor's Guide To ServiceNow

We require reporting on an incident metric to capture the details of assignment group and assigned to . Right now , it is not capturing the duration/how long it took the last assignment group or last assigned to who resolved the incident.

Do you have SLAs? Since you can use SLA breakdowns to achieve this.

I did a video about it for quite a while ago, and it probably has gotten even better since that video: https://www.youtube.com/watch?v=eKLWsaEz3rs

is that something that might help you out?

//Göran
Feel free to connect:
LinkedIn
Subscribe to my YouTube Channel
or look at my Book: The Witch Doctor's Guide To ServiceNow

Hi Göran

Yes, we do have SLAs configured. However, the requirement is to capture the data in Metric.

Is there a way to script this? I have gone thru some other postings which asked similar question, but this seems to be a mystery to many of us in the ServiceNow Community.

 

Thanks.