Catalog client script is showing as the script is not VA supported

sharan Prasad
Tera Contributor

"This catalog client script is not VA supported due to the presence of the following variables in the script: setTimeout" is the information message I received when I was scripting for a client script.

setTimeout(function(){ g_form.clearMessages();},3000);

1 ACCEPTED SOLUTION

@sharan Prasad 

why not use GlideAjax in your client script and within the script include function give some 3 seconds delay?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

6 REPLIES 6

@sharan Prasad 

why not use GlideAjax in your client script and within the script include function give some 3 seconds delay?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

sure will try