how to hide the choices based on roles using ACL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022 03:43 AM
Hi,
I have a requirement where Retired, Leased, Missing status should not reflect in list view to users who does not have "asset" role.
For this, I am trying to create ACL.
Please help to disable the list edit for the same.
Regards,
Lalitha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022 03:55 AM
Hi,
ACLs not apply for drop down values within field.
please use other options to hide choices refer below
https://community.servicenow.com/community?id=community_question&sys_id=22a542a4db7810505129a851ca961921
https://community.servicenow.com/community?id=community_question&sys_id=24842e64dbd245d4ae812509139619bc
Hope it helps!!
Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Pavankumar
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022 03:57 AM
Hi Lalitha,
You can use query Business Rule for this, to hide these states in the list view. Then they will not be able to see those states options in list view.
For making the list view non editable for them you can create an ACL of list edit type and that should solve your second requirement.
Please mark this as correct and helpful if it resolved the query or lead you in right direction.
Thanks,
Mohit Kaushik
Community Rising Star 2022
Mohit Kaushik
ServiceNow MVP (2023-2025)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2022 07:55 AM
Hi Mohit,
Thanks for your quick response!!
Could you please help me out with the ACL? How should I write it for the users who does not have asset role?
Please help!!
Thanks,
Lalitha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2022 05:42 AM
Hi Lalitha,
It is not possible to do with ACLs. You can not hide some options with ACL but you can make the whole field read only for those user. If you want to do that then I can help you out.
Please mark this as correct and helpful if it resolved the query or lead you in right direction.
Thanks,
Mohit Kaushik
Community Rising Star 2022
Mohit Kaushik
ServiceNow MVP (2023-2025)