Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2022 05:29 AM
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)
Mohit Kaushik
ServiceNow MVP (2023-2025)