We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Unable to retrieve Approvals after Australia Path 3 hotfix 1 - Calling script includes from a filter

NathanD42583966
Tera Expert

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.

1 ACCEPTED SOLUTION

NathanD42583966
Tera Expert

Hello, so the change was the script include TimecardAjax was updated to 

var delegateGr = new GlideRecordSecure('sys_user_delegate');
The patch was to go back to 
var delegateGr = new GlideRecord('sys_user_delegate')

View solution in original post

5 REPLIES 5

Tanushree Maiti
Tera Patron

Hi @NathanD42583966 

 

If nothing works and if its not your PDI , raise a case with Servicenow vendor.

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

LakshmiSraK
Tera Contributor

Hi @NathanD42583966 , 
We have similar issue in Zurich , were you able to figure out the issue ?

Jonathan102
Tera Guru

We have the same issues.  Amy updates on the best fix?

Thanks!

ServiceTechNow
Tera Contributor

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?