How to bypass the ACL ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
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
3 weeks ago
Hope you are doing good.
Did my reply answer your question?
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
3 weeks ago
Hi @Nilesh Pol , thanks for the feedback..
You can keep the ACL active for the problem field to make it read only for closed incidents while using server side logic in a Business Rule (after insert/update) to add incidents to the problem record, bypassing the ACL since server side scripts don’t respect field level access controls...and this ensures problem requesters can still add closed incidents through the related list by either adjusting the related list UI Action or creating a Script Include, which should be configured to be accessible for specific roles...
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/