How do I test SLA breach for an SLA which should not include weekends in it's time frame without having to wait?

vedang_vaidya
Kilo Expert

I have created an SLA which does not include specific weekend times. I need to test a ticket to see whether the weekend time is included or is successfully removed. Obviously, one way is to wait for the weekend but that cannot be the only solution. I've tried changing my system time but that does not seem to work either. The only way I can think of is by changing ServiceNow server time but I don't want to try that unless I'm sure it's not going to mess things up.

I am obviously trying this on our dev SN first so I have some buffer for errors. Can yo please let me know the best way of testing this without having to wait the entire duration?

Thank you in advance!

3 REPLIES 3

Aditya Mallik
ServiceNow Employee
ServiceNow Employee

When defining the SLA did you see a information text on top of the form that says something like



An SLA starting now will breach on 09-29-2016 11:00:00 (Actual elapsed time: 29 Days 15 Hours 59 Minutes)



This message is displayed taking the attached Schedule into consideration. This message also shows up if you open the existing SLA Definition record.



Also if you look at the Task SLA record, you will see a field called "Breach time" that will tell you when the associated SLA will breach for that Incident.


Aditya Mallik
ServiceNow Employee
ServiceNow Employee

Vedang, did you find the previous response helpful? If so, please mark the response as helpful, so that we know if the suggestion worked or not.



Thanks.


Anoushka2
Kilo Contributor

Hey, can you Help us how you figured this out.