Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Bulk creation of ACLs

SimenKnudsen
Tera Contributor

Hi!

I’ve added several new fields and now need to create the corresponding ACLs.
Is there a faster way to generate all the CRUD operations for these fields, instead of creating each ACL manually one by one?

Thanks!

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@SimenKnudsen 

Fastest way is to do Insert with Roles

-> Create 1 field level READ ACL, save it

-> then on same form change the field and Click "Insert with Roles"

-> it creates another ACL with just field name different.

AnkurBawiskar_0-1763026743241.png

 

💡 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  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

RaghavSh
Mega Patron

How many? If there are 50+ you can think of script as an option.

 

Insert and stay with roles is more viable if  you have ~20 fields.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023
LinkedIn