client script is not running

Arundhati Jagta
Kilo Explorer

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.

5 REPLIES 5

Musab Rasheed
Tera Sage
Tera Sage

Hi @Arundhati Jagtap ,

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

Please hit like and mark my response as correct if that helps
Regards,
Musab

 

Hi @Musab Rasheed 

sir, can you provide a KB article for the solution?

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @Arundhati Jagtap ,

 

Try to save to the code by disabling the below 2 Client Scripts:-

find_real_file.png

 

and below UI script:-

find_real_file.png

 

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

Hi Sir, 

can you please provide a KB article for the same answer? or can you give a detailed explanation about it?