Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How to force the re-calculation of an SLA?

Joey Day
Tera Guru

We have an SLA that is retroactively calculated based on a "Received Date" (Retroactive = True and Set Start To = Received Date). When the Received Date is edited, the SLA doesn't get cancelled and re-created. How can I force the cancellation and re-creation of the SLA whenever that Received Date changes?

2 REPLIES 2

manikorada
ServiceNow Employee

Joey Day,



Have a business rule to run on your conditions met and have the the script as :



new TaskSLAController(current).run();


CharlesGriff
Mega Sage

Hi Joey



Did you manage to get this working by any chance? I have a similar situation where I need to re-calculate the start time of my SLA's based on an appointment date/time field on my work orders.



Regards