How to create another business time left, elapsed time, elapsed percentage field?

Kazuma Akita
Tera Contributor

I would like to add a custom field to the Task SLA table that measures the SLA within 24 hours, excluding weekends and holidays, separate from the Business time left, elapsed time, and elapsed percentage fields.

Firstly, is it possible to implement such a custom field? If it is possible, please provide the steps to do so.

4 REPLIES 4

AshishKM
Kilo Patron
Kilo Patron

Hi @Kazuma Akita , 

I would suggest to use metric definiation over the record  table instead of adding/updating the task_sla table becuase that table is common for all Task ( and child ) table record and any modification will visible to all type of records. So technically possible with additional custome code for duration and % calculation. 

 

-Thanks,
AshishKM


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

Hi @AshishKM 
Thank you for your answer!

Since my knowledge of Metric Definitions is limited, could you please provide more detailed steps if possible?

Hi @Kazuma Akita 

 

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/use/reporting/concept/c...

 

https://youtu.be/sejye-DCjok

 

*************************************************************************************************************
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]

****************************************************************************************************************
CISITSM #ITSM #csa #ServiceNow #TechnoFuncational Disclaimer: These videos are from my training batch. These videos did not promote any ServiceNow Sales pitch or marketing. These videos are only for knowledge purposes & basic on my experience & Knowledge. Redistribution or copying of functionality

You can review some existing metric definitions [table : metric_definition ] and check how they are configured. When metric definition meets the record condition it creates a record in metric instance table ( metric_instance )

 

AshishKM_0-1716298856030.png

 


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