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.

Prevent SLA attaching to Incident created outside of business hours

jasonclemon
Giga Contributor

Hi all - 

I'm using Yokohama, and am trying to set an SLA to not be attached at all to incidents that are created outside of business hours. I currently have things set up to work on a schedule, but even outside of SLA schedule the SLA in question gets attached, albeit wit the timer not starting until schedule hours.

 

In order to prevent a potential SLA flood, I'm trying to prevent the response SLA from being attached at all (alternatively, to be cancelled when created outside of hours). Any help would be appreciated!

2 REPLIES 2

Voona Rohila
Mega Patron
Mega Patron

Hi @jasonclemon 
If Start condition is met, the SLA will be attached to the record.

The Schedule only affects the calculation of SLA Duration and has no relation to when the sla will be attached

SLA duration and schedules 

 

If you don't want the sla to be attached then you need to modify the conditions accordingly and also by  introducing a custom field and write logic around that based on schedule.

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

I would be okay with doing the custom field, do you have any pointers on how to address this?

I've tried setting up a business rule to prevent it from getting attached, but that didn't seem to work either.