Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to restrict view based on role?

sowmya28
Tera Contributor

I have one view called "Demo_View". I need to restrict this view only to users with Role "Viewers".

I tried adding role to view and adding view rule but it didn't work.

Please help me how can I achieve it. Thanks in advance.

13 REPLIES 13

with new demo role which I created.

 

Hi,

which table? custom table?

share the view rule screenshot

regards
Ankur

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

metric result table.

it's an OOB table right?

Please share screenshot

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

shared the screenshot