My Approvals not working for Delegates

Prati
Tera Contributor

Hi All,

As per OOB functionality my approvals should show list of requests which are needs to be approves this should work for approve as well as his delegate. but it is not working for delegates. i checked with filter which as approver is javascript:getMyApprovals(). this is fine also i tried by activating Business rule approval query.

Can anyone help on this??

Thanks and Regards,

Pratima Deshmane

 

1 ACCEPTED SOLUTION

Hi Prati,

 

did you check the delegate record has valid values; start and end date is proper

approvals checkbox is true

What happens if you open the record directly using sysapproval_approver.LIST

Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

13 REPLIES 13

Hi Prati,

Can you share what update you made to make it work? It would be helpful

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Yes sure Ankur..

i have modified script to this:-

var u = getMyApprovals();
var gr = new GlideRecord('sysapproval_approver');
gr.addQuery("approver", u);
gr.addQuery("state", "requested");
gr.orderByDesc('sys_updated_on');
gr.setLimit(50);
gr.query();

its working for me and now delegate users are able to see list of request which needs to be approved by approver or his delegate. 

 

Raghesh
Giga Expert

Hi,

We have similar issue. Approver user 'A' delegated to 'B', now when 'B' logs into Service Portal and unable to see the Approval tab itself. Is there any role required for user 'B' to view the approval requests which are delegated to him.

 

regards,

Raghesh

i have the same issue, has anybody an solution (Iam on Paris Release)