How to get rid of script error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 08:31 AM - edited ‎09-27-2023 08:31 AM
Hello All,
We have recently cloned our instance-currently on vancouver release, post cloning we have a page on service portal which is throwing up an error below-
org.mozilla.javascript.EvaluatorException: GlideRecord.addJoinQuery() - invalid table name: sn_wsd_core_room
(sys_script_include.112mnjkc34c109033bfeacf5a993d.script; line 49)
Error Script source code logged to console
ErrorFailing widget: 'Favorites' ()
Could anyone please suggest me how should I fix this error ?
Any kind of help would be highly appreciated,
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2023 08:59 AM
Hello,
In the script check if the table name is correct:- sn_wsd_core_room
Below are some posts with similar error:-
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0686730
Please mark my answer as correct based on impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2023 02:37 AM
Hello,
If my answer helped you can you also mark it as correct.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-28-2023 09:43 PM
Hello,
Thank you for your inputs on this.. As suggested I checked in the script, there is no such mention of that table
Also I am not sure the sn_wsd_core_room is part of which application..as per the articles shared, they mentioned install table related plugins- I checked in the instance--both the plugins are installed and up to date, hence not sure what can be done now