How to remove delete button on change task form?

sonita
Giga Guru

How to remove delete button on change task form?

find_real_file.png

1 ACCEPTED SOLUTION

marcguy
ServiceNow Employee
ServiceNow Employee

are you admin? the delete ACL for change_task or task even is set to allow admin to delete.



impersonate a non-admin user and it shouldn't be there.



if you want to remove it for admins as well, then change the ACL to return false always and untick the admin overrides button.



http://wiki.servicenow.com/index.php?title=Using_Access_Control_Rules#gsc.tab=0


View solution in original post

4 REPLIES 4

marcguy
ServiceNow Employee
ServiceNow Employee

are you admin? the delete ACL for change_task or task even is set to allow admin to delete.



impersonate a non-admin user and it shouldn't be there.



if you want to remove it for admins as well, then change the ACL to return false always and untick the admin overrides button.



http://wiki.servicenow.com/index.php?title=Using_Access_Control_Rules#gsc.tab=0


Hey! 

Would you please Explain me more. Here is a requirement -Disallow ANY deletion of Task records (even admins)

Chuck Tomasi
Tera Patron

The easiest way is to change the ACL on that table to disallow Delete access. The condition to show the button checks "is this user allowed to delete records on this table" (among other things). Just remove/restrict delete access and you remove the button.



Example:



find_real_file.png



If you really want to lock it down 100%, uncheck "Admin Overrides" also and not even admins can delete those records!


Abhinay Erra
Giga Sage

create a delete acl on the change request table to prevent users form deleting the records. If user do not have the privilege to delete the records, you will not see the delete button.