Client Scripts running while inactive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I have made 2 client scripts in my PDI. One is onLoad and one is onSubmit. They are both set to Active = false. Both still run. I have checked in my Update Set and they are showing correctly as "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
It could be another active client script on the same table/field, or a ui policy or ui policy action impacting that field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
share the config screenshots of both client scripts
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
hello @markcbasile ,
May be there is another logic which is executing . Can you add any infomessage in your both client script then we will get is really they are exceuting or not .
If this helps you then mark it as helpful and accept as solution .
Regards,
Aditya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @markcbasile
It is impossible.
Could you please put the alert on those deactivated script and confirm during run time- you are getting the alert message from those deactivated scripts..
Share your screen shot as well.
