How to create another business time left, elapsed time, elapsed percentage field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2024 05:46 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2024 06:23 PM - edited ‎05-20-2024 06:24 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2024 02:08 AM
Hi @AshishKM
Thank you for your answer!
Since my knowledge of Metric Definitions is limited, could you please provide more detailed steps if possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2024 02:12 AM
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-21-2024 06:44 AM
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 )
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution