ACL Control based on Assignment group

Community Alums
Not applicable

I am looking for option to restrict one particulate assignment group to access other assignment group tickets. is there any option available?

 

4 REPLIES 4

jaheerhattiwale
Mega Sage
Mega Sage

@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.

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

Community Alums
Not applicable

I tried this already, this is not allowing same user see own ticket which is assigned to different assignment to activity 

@Community Alums There might be some other ACL which might be providing access. Please check

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

Vivek Gaikwad
Tera Contributor

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.