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

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')