Client Scripts running while inactive.

markcbasile
Tera Contributor

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 "

<active>false</active>". I have cleared my instance cache with "cache.do". I have cleared my browser cache, tried incognito, and a different browser, but they both still run. Short of deleting them and recreating, I am at a loss for next steps. 
Mark Basile
4 REPLIES 4

ShwetaS
Tera Expert

It could be another active client script on the same table/field, or a ui policy or ui policy action impacting that field.

Ankur Bawiskar
Tera Patron

@markcbasile 

share the config screenshots of both client scripts

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Aditya_hublikar
Mega Sage

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

Tanushree Maiti
Mega Patron

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.

 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: