- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Hello,
We recently updated to Australia Patch 3 Hotfix 1, and we're noticing an issue with approvals. More specifically, calling script includes via filters.
When vieweing Pending approvals for time cards, one of the filters is calling: Approver List > Contains > javascript:new TimecardAjax().getUserandDelegators()
We noticed that we are getting a NULL value when atttemping to pull the information. When going to 'My approvals', under Service Desk, we are getting the same result. The filter here is. Sys_id > is > javascript:new ApprovalDelegationUtil().getOnlyDelegatedApprovals()
We debugged, and the TimecardAjax & Approval delegationUTil are working. It seems to be more related to calling the script includes. We're still investigating. Curious if anyone else is seeing this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello, so the change was the script include TimecardAjax was updated to
The patch was to go back to
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
- Repair the Time card plugin
- Clear instance cache using cache.do and try
- Ensure there are no application scope permission errors
- your Script Include must be: Accessible from: All application scopes
- Refer: KB0596891 List filter with javascript clause containing a string starting with caret ^ returns null
- https://www.servicenow.com/community/developer-forum/script-include-not-working-in-filter-condition/...
- https://www.servicenow.com/community/developer-forum/script-include-not-returning-any-value-when-cal...
If nothing works and if its not your PDI , raise a case with Servicenow vendor.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @NathanD42583966 ,
We have similar issue in Zurich , were you able to figure out the issue ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
We have the same issues. Amy updates on the best fix?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Also following @NathanD42583966, what was the outcome? We are seeing this popup now in the last few days/week without any upgrade or changes to the script include in question. Any update?