Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

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

5 REPLIES 5

keithgagne
Tera Contributor

Any updates on this or PRB1708878?  We are trying to clean up our logs as well.  I updated plugin Advanced AI Search Management Tools to latest version 7.0.2 but errors persist.