Javascript Evaluator Exception
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2022 10:52 PM
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 !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2022 10:55 PM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2022 11:00 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2022 09:58 AM
Hi,
you need to debug more
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader