SLA Actual elapsed percentage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2025 06:09 AM
I read a lot of articles and I don't still understand how actual elapsed percentage is calculated. when I see for example the actual elapsed percentage of the one I attached in this post, I don't get it. I found the script include (SLACalculatorNG) that does the math to try to understand which is the following:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2025 06:39 AM
In that script include, the currentSLA object is not a GlideRecord - it's just a Javascript object populated with values. It's created in the _createTaskSLA(sla) function in that script include. The derived_end_time property is calculated based on the sla_duration and business_pause_duration from the task_sla record. In my instance it's on line 314-315 of that SLACalculatorNG script include: