Build a report that will bring the business duration of each state per task type

ahmedhosam
Kilo Contributor

Hello everyone, 

I have created a report that should bring the average of the business duration of each state per task type.

find_real_file.png

But the result wasn't as expected.

The only results that came back were the states of "resolve" and "closed" from the incident and "Awaiting user Info" from the problem as per the screenshot:

find_real_file.png

 

Please advise me if I have something wrong or missing or any alternatives that will bring the same results.

Thank you in advance and best of regards, 

1 ACCEPTED SOLUTION

Adam Stout
ServiceNow Employee
ServiceNow Employee

It sounds like you are going to want to look at using metrics.  However, metrics typically only look at calendar duration, not business duration.  However, you can do this with a scripted metrics that calculate the business duration per state.  The complication comes in figuring out what schedule and timezone to calculate the business duration on but as long as you can work out that logic, it is very doable.

View solution in original post

5 REPLIES 5

Deepansh Jain
Kilo Contributor

would you be able to answer this question 

https://community.servicenow.com/community?id=community_question&sys_id=92bd9c38db5b18903daa1ea66896191d