Javascript Evaluator Exception

Bharath Reddy M
Tera Contributor

Hello Everyone!

I have a piece code for which i'm getting an error. Can anyone please suggest what could be the cause for error and how I can overcome it.

For this code I'm getting error like below.

Thanks in Advance !

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

the tablename variable possibly holds nothing and hence GlideRecord is not working

Did you try to check what is present in that variable

regards
Ankur

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

Hi,

yes I have checked, I kept a log on 178 and checking for what value is coming. 

I found this value in logs  

Note : I have modified the log line where in the above pic I kept Me checking in

Something else causing the error. Please suggest on the same

Thanks

Hi,

you need to debug more

Regards
Ankur

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