Need to calculate On hold reason "Awaiting caller"sum up duration

Community Alums
Not applicable

Hi,

 

We have incident state duration and incident state on hold reason duration metric in servicenow instance. 

If an incident has different on hold reason with the different duration change..

I need to calculate the sum of duration of on hold reason in specific for an incident. 

 

Help me to achieve this..

Thanks.

7 REPLIES 7

Hi @Community Alums 

 

You can create New SLA only for this case and onhold duration you will get. or give a try for OLA ( I know it is not a good way but still try)

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Community Alums 

 

If my answer has helped with your question, please mark my answer as accepted solution.

 

Best regards

Anders 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

AshishKM
Kilo Patron
Kilo Patron

Hi @Community Alums , 

You can review the ootb incident state duration metric definition and metric_instance table for all On Hold records.

You can use this metric_instance table record for adding all On Hold duration and display on Incident form ( onload ).

 

If OOTB definition not helping much for On Hold ( Awaiting Caller ) duration then you can write new metric definition (with custom code ) which calculate duration only for On Hold ( Awaiting Caller ) and  add them for incident form ( onload ).

 

AshishKMishra_0-1704290360864.png

AshishKMishra_1-1704291907208.png

-Thanks,

AshishKMishra


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution