The CreatorCon Call for Content is officially open! Get started here.

Client Script Error - Change model: Mandatory Fields - After Zurich upgrade

Manigandan24
Tera Contributor

Hi team,

I'm facing this error after the Zurich upgrade on the Change request form "onChange script error: TypeError: g_scratchpad.change_model.refreshMandatoryFields is not a function function () { [native code] }"

Manigandan24_1-1759825183151.png

This is the Client Script that I'm using:

Manigandan24_2-1759825221812.png

 

Kindly suggest any solutions to fix this please.

9 REPLIES 9

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Manigandan24 

 

Try to repair the change model plugin once.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG ,

 

Tried repairing the plugins. Still the same issue.

Manigandan24_0-1759826090203.png

 

Hi @Manigandan24 

 

If stil issue, better log Now Support case, as it is OOTB script.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron
Tera Patron

@Manigandan24 

If that's an OOTB client script and you didn't touch anything on that then raise a Case with ServiceNow since this started coming after upgrade.

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