How we can calculate business elapsed time from servicenow incident_sla table ?

somya-gupta25
Tera Contributor
 
9 REPLIES 9

Hi @somya-gupta25 ,

 

If you get a difference based on your SLA calculation and your custom calculation, are you then confident that it is the OOTB SLA calculation that is wrong? How is this configured and how is your script scripted for calculation? 

 

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/

Mark Manders
Mega Patron

The ServiceNow business elapsed time on the SLA record is based on the elapsed time of the ticket, taking the given schedule and pause conditions into consideration. You will need to share your own calculation and information from the task_sla record for us to tell you where the difference is coming from. 
The fact that you are calculating something manually and get a different outcome, means that either something isn't set correctly in the SLA definition or you are missing something in your calculation. 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Hi Mark, 

Can you please let me know  where is that business elapsed time calculation happend in incident_sla table ?

Because I check Business Rule , i didn't find any relevant business rule for this calculation .

 

Thanks in Advance

That's not a BR, that's the SLA engine. And you can't change anything there. Again: you will need to share your own calculation and information from the task_sla record. Without that, we can't tell you what is different between your calculation and the SLA calculation. As mentioned: The fact that you are calculating something manually and get a different outcome, means that either something isn't set correctly in the SLA definition or you are missing something in your calculation. 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Thanks , I got the solution from SLA timeline . 

Thanks for your response.