Create ACL Rules for tables INCIDENT for hiding fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2024 10:34 PM - edited ‎02-18-2024 11:02 PM
I have a requirement to hide the 'Short Description' and 'Assigned to' fields when the assignment group is not CAB Approval. This should be implemented within a single ACL .
whenever that current record is assigned to CAB Approval. (after saving that record it should get hide)
How can I do this ? please guide
I have implemented this ACL and IT works but the problem is I have to make two different ACL's for making the requirement full fill and It will be not good practice to make . I tried with code but my code is not working .
Thank you!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2024 10:46 PM
Hi @Pankaj
You just need to create/modify ACLs. Out of the box there is one on the incident.short_description field. You can use the condition field to set things like assignment = CAB Approval.
Please mark reply as Helpful/Correct, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2024 10:56 PM
I have implemented this ACL and IT works but the problem is I have to make two different ACL's for making the requirement full fill and It will be not good practice to make . I tried with code but my code is not working .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2024 11:20 PM - edited ‎02-18-2024 11:21 PM
Hi @Pankaj
ACL above you also need one more ACL to provide the access READ.
You can also achieve it through one ACL through script. The logic should be
- If the Assignment Group is CAB => answer = false
- Else (Assignment Group is not CAB) => answer = true
Sample script:
if(current.getValue('assignment_group') === 'cab approval sys_id'){
answer = false;
}else{
answer = true;
}
Instead of sys_id use system property best practice.
Please mark reply as Helpful/Correct, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-18-2024 11:17 PM