- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2020 01:34 AM
I have requirement where i need to restrict ritm records to be hidden for other group memebers and only visbile to the specific assigned group and its members.
I have written table.none ACL with below code and condition
Its not working as expected and users are still able to view other groups ritm request.
Please help me on this.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2020 03:22 AM
Hi,
You can try the following way:
1> Create a custom role and assign it to this assignment group.
2> Now search for all the Request Read ACLs. You may have several and for the basic read ACLs for Requests that allow all ITIL(any other specif role) etc. to read the Requests. Here you should add a condition that assignment IS NOT 'xyz'.
3> Now in the new Read ACL...you should put assignment IS 'xyz' and then add the role to the role section of the ACL.
4> This way all the other Requests will be still read by ITIL(any other specific role), Expect the one assigned to this 'xyz' team.
5> now the team 'xyz' has their own ACL with role that allows the to read it.
Please mark reply as Helpful/Correct, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2020 03:46 AM
We need to pay for custom role. So be careful when you do that
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2020 07:34 AM
Hi Mayur,
there is small error in your addQuery(); please use this; remove == and only use single =
ritm.addQuery('assignment_group', '=', sys_id);
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader