How to bypass the ACL ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
Hi All,
I have an ACL which is making problem field is editabe only for admin on incident form, I have written an business rule for linking incidents to problem record form 'incidents' related list , so that other users can add incidents to problem.
No sure, why this business rule is NOT axecuting, Is this because of ACL which wont able to edit problem field on incident form?
if yes, how to bypass that ACL so that user can add the incident from 'incidents' related list on probem record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
if you are using GlideRecord to update then ACL won't evaluate.
Did you try disabling that field level WRITE ACL and confirm if it's ACL issue?
share that BR configuration and screenshots.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @Nilesh Pol ,
If a user cannot add incidents to the Problem related list it’s usually because the related list UI action or list_edit/field ACL is blocking that interactive action so debug the failing ACL with Debug Security, then either adjust the ACL condition to safely include the needed role or implement server side logic (an after insert/update Business Rule or a server UI Action/Script Include) to programmatically create the relationship since server side scripts run with system level APIs and can update records even when the UI field is not editable, don’t disable ACL globally, test thoroughly and document your changes....
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/