The CreatorCon Call for Content is officially open! Get started here.

How to bypass the ACL ?

Nilesh Pol
Tera Guru
Tera Guru

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?

6 REPLIES 6

@Nilesh Pol 

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.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

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.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/