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

Need to Remove 'DELETE' UI Action from incident table and it should not affect the parent task table

shashank32
Giga Contributor

Hi

Can anyone suggest me the best way to remove  'DELETE' UI Action from incident table and it should not affect the parent task table.

i duplicated the DELETE ui action with less order and add one more condition in it-- '&&current.getRecordClassName() !='incident';

but its not working .

1 ACCEPTED SOLUTION

Hi,

you are checking with admin?

Did you check any other table level DELETE ACL on incident is allowing?

it worked for me even as an admin when I had 1 table level DELETE ACL on incident table

find_real_file.png

1) list - delete grayed out

find_real_file.png

2) form - delete button not shown

find_real_file.png

Regards
Ankur

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

View solution in original post

11 REPLIES 11

I had created a new ACL instead of altering the OOB ACL .Its working fine , Thank You.

Ram141
Tera Expert

Hello @Ankur Bawiskar ,

I have tried the same operation on sn_wsd_case_workplace_case table but it's restricting delete operation only in list view but on form view we are still able to see delete button.

Could you please help me here with your inputs.

Thanks,

Ram