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.

Only users with the admin role should have the ability to add and remove checklist_items.

MayurGavhane
Tera Contributor

 

Hi All,

I'm using a checklist on my incident form, but I don't want non-admin users to be able to add or remove items(checklist_items).

I tried using the UI macro (inline_checklist_macro) script, but it made all the checkboxes ready-only.

Also can we create report using these checklists.

 

MayurGavhane_0-1691082739498.png

 

@Ankur Bawiskar 

@Ravi Chandra_K

@Samaksh Wani  

 

 

1 ACCEPTED SOLUTION

sushantmalsure
Mega Sage

Hi @MayurGavhane 

This can be done by adjusting the create ACL present on checklist table.

OOB ACL is present here : https://<instance>.service-now.com/sys_security_acl.do?sys_id=0a3ac670c30202004e44dccdf3d3ae52

 

replace instance with your instance name.

 

Remove the role (if any) and in script just write : answer = false; and keep admin overrides to true.

Now this ACL will only allow admins to create new checklist items and keep new items creation from non-admin users.

 

Do check if there are any other create() ACLs present on checklist table to make sure non-admin should not have access to create. 

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure

View solution in original post

10 REPLIES 10

@MayurGavhane 

Can you mark my answer correct if your issue is resolved ?

 

If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Regards,Sushant Malsure