Can we call script include from SLA filter condition?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2020 02:42 AM
Hi
Can we call script include from a SLA start condition using below?
javascript:newGetInSys().getinc();
I user the above method to call the script include function but it is not triggering from the SLA start condition.
I have verified the script and it is working in background script.
Thanks,
Neethu
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2021 03:34 AM
Hi Neethu,
Were you able to call the script include from SLA condition builder?
We are facing the same issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-07-2025 09:06 PM - edited ‎04-07-2025 09:14 PM
@Harsh Vardhan ty for sharing this, its working like a charm 🙂
Few minor observations and updates based on latest ServiceNow release.
1. If you are trying this on PDI check the check box sandbox enabled on script include.
2. Client callable is not available anymore on script includes hence we need to select GlideAjax enabled.
I have created a scoped application in global scope demonstrating this solution along with a decision table component. Feel free to checkout this blog post explaining the scoped app and the solution.
Implementing complex SLA definitions using decisio... - ServiceNow Community