We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

SLA Breach Not Recalculating When Task Due Date Is Updated

Javeria
Tera Guru

Hi Devs,

An SLA breach is calculated correctly when the task reaches its original due date. However, if the user updates the due date after that, the task_sla breach end date / breach percentage does not recalculate or update.

Any guide on how to do it?

Javeria_0-1770394773820.png

Javeria_1-1770394875073.png

 

Regards, 

Javeria.

1 ACCEPTED SOLUTION

Thanks, but this didn’t work for our requirement. We needed the process to be fully automatic so that whenever the Due Date is updated, the existing Task SLA is either recalculated or a new one is created.

Fortunately, we found a solution on the support forum. Based on that, we added a condition in the SLA definition to reset when the Due Date changes and to cancel the existing Task SLA.

With this approach, whenever a user updates the Due Date, the change is tracked and a new SLA is automatically attached to the sc_task.


https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0780829

 

Javeria_0-1770651898788.pngJaveria_1-1770651920332.png

 

 

Regards,

Javeria.

View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

Hi @Javeria 

 

You need to repair the SLA manually in that case.

 

https://www.servicenow.com/docs/r/it-service-management/service-level-management/c_RepairSLAs.html

 

DrAtulGLNG_0-1770395426334.png

 

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Thanks, but this didn’t work for our requirement. We needed the process to be fully automatic so that whenever the Due Date is updated, the existing Task SLA is either recalculated or a new one is created.

Fortunately, we found a solution on the support forum. Based on that, we added a condition in the SLA definition to reset when the Due Date changes and to cancel the existing Task SLA.

With this approach, whenever a user updates the Due Date, the change is tracked and a new SLA is automatically attached to the sc_task.


https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0780829

 

Javeria_0-1770651898788.pngJaveria_1-1770651920332.png

 

 

Regards,

Javeria.

That can also be a good way. If all work please close the thread.

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************