Isolate Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2019 10:34 PM
Hi All,
We created two UI Actions with same script one with Isolate Script false and others with Isolate Script true. The one with Isolate script true is only working. May I know what exactly this Isolate Script is?
Note: The both UI Actions calling a Script Include and the Script Include is creating a record on a different table
Thanks
Ramesh R

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2019 11:33 PM
Hi there,
Here's an interesting article about Isolate Script. Written on Client Script, though logic is same for UI Policy.
https://community.servicenow.com/community?id=community_blog&sys_id=c5c46364dbba6b007d3e02d5ca9619cb
Also a nice Hi article about Isolate Script:
https://hi.service-now.com/kb_view.do?sysparm_article=KB0743155
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2019 03:10 AM
Hello Ramesh,
Isolate script" field in client script which is new Feature London version
New client-scripts are run in strict mode, with direct DOM access disabled.
Access to jQuery, prototype and the window object are likewise disabled. To disable this on a per-script basis, configure this form and add the "Isolate script" field.
To disable this feature for all new globally-scoped client-side scripts set the system property "glide.script.block.client.globals" to false..
Check out this blog,
https://community.servicenow.com/community?id=community_blog&sys_id=c5c46364dbba6b007d3e02d5ca9619cb
Please mark as Correct Answer/Helpful, if applicable.
Thanks!
Abhishek Gardade
Abhishek Gardade