Relationship Between Parent and child assignment group

Darshana2
Tera Contributor

How the parent assignment group can see the cases of child assignment group for example: if we have 'Pay & Benefits   Group' as a parent group which need to have access to view child group 'Pay group' and 'Benefits group ' Cases

1 REPLY 1

AnubhavRitolia
Mega Sage
Mega Sage

Hi @Darshana2 

 

You can create a Read ACL for Case table. In script you can check that logged in your is member of Parent Assignment group as below:

 

var parentGroup = current.parent.assignment_group;
if(gs.getUser().isMemberOf(parentGroup))
answer = true;
else
answer = false;

 

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023