How to create a view rule in workspace

Raviteja24
Tera Contributor

I need to display only particular columns in list view  to particular group users ( not role specified) . If logged in used is not part of that group can able to see default view

7 REPLIES 7

@Raviteja24 

please check that link, I haven't tried it yet

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

Nilesh Pol
Tera Guru

@Raviteja24 

define view rules under Now Experience Framework with condition gs.getUser().isMemberOf('Group A').

This means Workspace to show the group_a_view list view to anyone who is in Group A.

 

HIi @Nilesh Pol 
where can script "gs.getUser().isMemberOf('Group A')." this code in workspace?