System log errors: [RemoteTable] VScriptableTableData: Unable to resolve javascript condition expres

chuckn
Kilo Guru

We've been investigating high count system log errors in our environment and this one has us perplexed. We engaged Now Support for an assist, but that didn't lead anywhere.

 

We get about 1200 errors similar to this every day (the dates change):

 

[RemoteTable] VScriptableTableData: Unable to resolve javascript condition expression: javascript:gs.dateGenerate('2023-09-19','start')@javascript:gs.dateGenerate('2023-12-18','end'): no thrown error

 

Looking at one of those errors, the context is:

 

{"_system_id":"*.service-now.com:moog025","caller":"com.glide.schedule_v2.SchedulerWorkerThread","_logged_in_user":"system","job_name":"Update Search Analytics Data","record_sys_id":"336e37f25b7c6910d9a5ce1a8581c7d3","_user":"system","_is_impersonating":"false","table_name":"sys_trigger","_session_id":"glide.scheduler.worker.4","_txid":"89965abb4303"}

 

That Scheduled job is just:

 

var utils = new SearchAnalyticsPrecalculatedData();
utils.populateData();

 

So looking at populateData() in SearchAnalyticsPrecalculatedData(), it references the 

sn_ais_admin_tools_ai_search_analytics_dashboard_precalculated_data table, which is full of records created/updated by admin or system (in other words, nothing we've touched as a customer). I suspect one of the Encoded queries in one of those records is an issue, but nothing's jumping out to me.

 

Has anyone seen a similar issue and figured out the cause?

 

Thanks!

-Chuck

1 ACCEPTED SOLUTION

chuckn
Kilo Guru

I cross-posted to the Impact forum and got some additional info: https://www.servicenow.com/community/servicenow-impact-forum/system-log-errors-remotetable-vscriptab... (in addition to a legit response from Now Support).

View solution in original post

2 REPLIES 2

amirosavljevic
Tera Contributor

Just following up. We have the same issue in the logs. 

chuckn
Kilo Guru

I cross-posted to the Impact forum and got some additional info: https://www.servicenow.com/community/servicenow-impact-forum/system-log-errors-remotetable-vscriptab... (in addition to a legit response from Now Support).