Relationship Between Parent and child assignment group
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2022 11:33 PM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2022 12:27 AM - edited 11-04-2022 12:27 AM
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
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023