The CreatorCon Call for Content is officially open! Get started here.

all approvers are able to see all requests ? even if they are not the approve for that request ?

S_matar
Tera Expert

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 !!! 

8 REPLIES 8

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 ! 

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

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

Ankur Bawiskar
Tera Patron
Tera Patron

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

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

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