client script is not running
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 07:40 AM
while running my client script it is showing on submit error though the type of script is different. and the script is not running for any table like client script for problem, incident, change table. and if I open the existing script and again tried to save it then also it is showing an error. kindly help me with it. Please find the attachment for your reference.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 07:47 AM
Hi
Don't use var functionName use var gr or something else, it is showing error due to use of 'functionName'
use var gr = g_form.getValue("type");
Mark my answer as correct if that helps
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2022 06:22 AM
Hi
sir, can you provide a KB article for the solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2022 08:35 AM
Hi
Try to save to the code by disabling the below 2 Client Scripts:-
and below UI script:-
Please mark my answer as helpful/correct based on impact.
Regards,
Gunjan Kiratkar
Consultant - ServiceNow, Cloudaction
Rising Star 2022
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-14-2022 06:15 AM
Hi Sir,
can you please provide a KB article for the same answer? or can you give a detailed explanation about it?