Isolate Script

ramesh_r
Mega Sage

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

2 REPLIES 2

Mark Roethof
Tera Patron
Tera Patron

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

---

LinkedIn

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

AbhishekGardade
Giga Sage

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

Thank you,
Abhishek Gardade