Using script include in SLA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2025 02:59 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2025 10:38 PM
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
