Can we adjust view on role based and How we can achieve it?

akash_1998
Tera Contributor
 
2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@akash_1998 You can use the View rules to adjust the view based on the user role. Please refer to ServiceNow documentation here https://docs.servicenow.com/bundle/tokyo-platform-user-interface/page/administer/navigation-and-ui/t... to know more about the view rules.

 

Here is an example of a scripted view role, which checks the current user role and returns a view which needs to be shown.

 

Screenshot 2024-07-10 at 9.37.24 PM.png

Please mark the response helpful and accepted solution if it addresses your question.

HrishabhKumar
Kilo Sage

Hi @akash_1998 

Check this community string : https://www.servicenow.com/community/developer-forum/how-to-change-view-based-on-role-of-user/m-p/22...

 

Thanks.

Hope this helps.

If my response turns useful, please mark it helpful and accept answer.