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.

Using script include in SLA

ToreS
Tera Contributor

I am creating an SLA with a Stop condition that checks if the "Updated by" field of an incident is set to the same person who it is assigned to.

 

Best practice seems to be to create a Script Include and reference it in the SLA Condition field (Class Name). How do I call the script from the SLA Definition?

 

I have tried adding the field Condition Type and selecting the sla condtionfrom the drop-down list. However, the script does not appear to be triggering.

 

We are using the Yokohama Patch 7 version.

 

(BTW: I was able to make this work using a custom true/false field updated by a Business Rule, but we would prefer not to rely on custom fields on the Incident table.)

 

Regards Tore

 

 

5 REPLIES 5

Thanks for taking the time to answer. I don't see a way to dot walk in SLA defintion condition, also I found this article:

Why dot walk should never be used in SLA definition

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