Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Want to create metric definition to exclude non business hours

ShubhamK2600572
Tera Contributor

My requirement is to calculate the duration of On-hold Incident excluding non business hours(After 6PM or before 9AM). 

Suppose incident was put on hold for 2 days so it will not show on hold duration for 2 days it will exclude business hours so like it will show 18 hours(9*2).

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@ShubhamK2600572 

check this

How to measure the different states exclude the Business off hours for an incident 

also check this blog

Schedule Aware Metrics - Includes a full solution 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@ShubhamK2600572 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader