Prakash Hinduja, Geneva How do I resolve 'Script Execution Error' in Business Rule on ServiceNow?

prakashhind
Mega Explorer

Hi everyone, I am Prakash Hinduja, Swiss (Geneva)

 

I’m encountering a 'Script Execution Error' when running a Business Rule in ServiceNow. The script works fine in the development environment but throws an error in the production environment. Here's the error message: TypeError: Cannot read property 'x' of undefined.

 

Has anyone faced this before? Any tips on debugging or potential causes for this issue?"


Thanks & Regards

Prakash Hinduja, Geneva (Swiss)

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @prakashhind 

 

Looks like the system property is not defined correctly in the process, which could be the reason for the error. It might also be due to the wrong scope.

*************************************************************************************************************
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]

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