ACL Control based on Assignment group

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 09:35 PM
I am looking for option to restrict one particulate assignment group to access other assignment group tickets. is there any option available?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 09:44 PM
@Community Alums Create a read ACL and add below script to it.
answer = gs.getUser().isMemberOf(current.assignment_group.getDisplayValue());
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 10:29 PM
I tried this already, this is not allowing same user see own ticket which is assigned to different assignment to activity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 10:59 PM
@Community Alums There might be some other ACL which might be providing access. Please check
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-11-2023 09:49 PM
You can try ACL with condition in the advance script
if(gs.getUser().isMemberOf(current.assignment_group)).
OR You can do this with Query Business rule
Mark Correct or Helpful if it helps.