Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

SLA Not getting cancelled using script. Please help

vijay39
Giga Expert

Hello all,

 

I have created a BR to trigger an SLA when Priority changes from 4 to 3.

But I also need to cancel another SLA that is getting attached for P3.

 

But it's not working.

Business Rule:

Before Update on Incident

 

Script:

vijay39_0-1740468918679.jpeg

NOte:

Actually, I want to cancel that SLA and delete the record also.

 

 

Please help

 

 

Regards,

Lucky

5 REPLIES 5

Hello ANkur,

 

Actually, I have created a new SLA and that has to be attached when Priority changed from P4 to P3 but not when Priority changed from P2 to P3.

 

Hence, I have written this.

 

 

Regards,

Vijay