Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Need Help Creating ACL on alm_hardware Table Based on "Managed By Group"

sattar3
Tera Contributor

Hi Everyone,

 

I am trying to create an ACL on the alm_hardware table in ServiceNow. We have a custom field called u_managed_by_group on the hardware asset record.

 

The requirement is:

Only users who are members of the group specified in the u_managed_by_group field should be allowed to edit that hardware record.
All other users should have read-only access/not allowed to update.

 

Could someone please guide me through the step-by-step process to build this ACL?
If any scripts need to be written (for conditions or scripts within the ACL), please share those script as well.

 

@Ankur Bawiskar @Amit Gujarathi @Ravi Gaurav 

 

Thanks,

Sattar

8 REPLIES 8

Tanushree Maiti
Kilo Patron

Hi @sattar3 ,

 

Elevate your role to Security Admin

Type: record
Operation: write
Name: alm_hardware

Active: true
Advanced: true

 

Screenshot 2026-04-01 092707.jpg

 

ACL script:

Screenshot 2026-04-01 092134.jpg

 

 

Note: You can use the Security Debugger to verify that this ACL is correctly returning true for members and false for non-members.

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

sattar3
Tera Contributor

@sattar3 

Glad to help.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Hi @sattar3 , Please accept the solution and mark it correct and close the thread , it will help future community readers.😊