- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 09:39 AM
I created a new field "Change Quality" that will be used to track change quality in the change form. This filed should only be visible to users who are in the CAB Group. How to accomplish this? Thanks in advance for your help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 09:47 AM
Hi,
use table.change_quality field level read ACL and add this in script section by clicking advanced checkbox
answer = getValue();
function getValue(){
if(gs.getUser().isMemberOf('CAB Group'))
return true;
else
return false;
}
screenshot below: use proper table name and field; for example purpose I have taken incident table and assigned_to; you take yours; also ensure group name is correct
Another better approach would be
1) create custom role for cab group
2) give that role to that group
3) any member whenever added to this group gets this role and if any member removed this role would be removed
4) give that role to the above ACL so no need of script etc
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-31-2019 11:49 AM
Do we have another way to accomplish this without using ACL?