Unable to retrieve Approvals after Australia Path 3 hotfix 1 - Calling script includes from a filter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Monday
- 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