shown error while creating business rule.

amol n
Tera Contributor

 when i try to create async business rule show this maggege:

onChange script error: TypeError: Cannot read properties of undefined (reading 'options') function () { [native code] }

 

 

4 REPLIES 4

Vrushali  Kolte
Mega Sage

Hello @amol n ,

 

This error is due to one of the on change client scripts. I can see there are 3 client scripts created. Please debug them to resolve this issue. If you need any of the assistance please let me know.

 

If my answer solves your issue, please mark it as Resolved ✔️ and Helpful👍 based on impact.

 

 

Amit Verma
Kilo Patron
Kilo Patron

Hi @amol n 

 

This is due to one or more of your On-Change Client Script. Can you please share a snippet of these or try debugging on your end ?

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

Anil Lande
Kilo Patron

Hi,

Looks like you have configured Client script on Business rule table(system table) instead of your custom table.

Your Client script is throwing some error and you need to fix this. \

Check your 'get field data' client script and make sure table and field selected is correct. 

 

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

Ankur Bawiskar
Tera Patron
Tera Patron

@amol n 

Did you try clearing your instance cache using cache.do and then try again?

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