all approvers are able to see all requests ? even if they are not the approve for that request ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2019 04:59 AM
for example i am submitting a request and sending it to my manager for approval ,
there is another manager in another department he is also an approver for another person but he can see my request fo approval which goes to my manager !!!? .
will he be able to see all the request even if it is not under him for approval ?
i tried to impersonate user and i saw that all the ppl who are approvers can see all requests !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2019 10:30 PM
still the same the same filter is there under module , but this is shouldnt happen can any one provide a solution this is making huge problem in the company that every manager knows what other department is requesting and when and who will approve !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2019 10:42 PM
Hi,
Best way is to restrict this using query business rule on sysapproval_approver table
condition: gs.getSession().isInteractive()
here is the script:
current.addQuery('approver' , gs.getUserID);
so what this will do is show only those records to the logged in user where that user is the approver
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 10:38 PM
Hi,
Any update on this?
Can you mark my answer as correct, helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2019 01:26 PM
it didn't work dear this caused that no one can see wo approved - only status will show but the approver name will not appear which caused an issue