Mohit Kaushik
Mega Sage

Hi Harish,

In that case I guess you need to remove not from your condition:

gs.getUser().isMemberOf('assignment_group') || gs.getUser().isMemberOf('assignment_group') || gs.getUser().isMemberOf('assignment_group') || gs.getUser().isMemberOf('assignment_group') || (gs.hasRole('admin'));

 

Please mark this as correct and helpful if it resolved the query or lead you in right direction.

Thanks,
Mohit Kaushik
Community Rising Star 2022

Thanks,
Mohit Kaushik
ServiceNow MVP (2023-2025)