How to restrict user for related list?

Karthik Reddy T
Kilo Sage

Hi ,

Related list will be visible to the concern users only.

For ex:   If the approval task will be done by a user   XYZ then   approval task will be visible to XYZ user only.

Thanks and Regards,

Karthik

Karthik Reddy T.
ServiceNow Commnunity MVP -2018 class.
2 REPLIES 2

ananthagowraram
Mega Expert

Hi Karthik,



You can restrict using ACL. You can have a ACL on the related list table..



Thanks


Anantha Gowraram


shloke04
Kilo Patron

Hi Karthik,



You can write an On Load Client Script on your Parent Table to hide/show Related List for the specific users you want   based on say specific Role/groups the users are a part of as explained below:



For e.g: On Change Request Table we have the Related List "Approvers", so you need to write an On Load Client Script on the Change Request table as shown below:



find_real_file.png



find_real_file.png



As explained in the above screen shot, instead of checking on basis of Role, you can check for other conditions also say whether a member of the group or not to whom the Related list should be visible.



Hope this helps. Mark the answer as correct/helpful based on impact.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke