How to disable delete option from list view of a table using Business rule?

Shubhashis
Kilo Contributor

I have two tables: 'x_snc_aob_test1_request_baseline_input' and ''x_snc_aob_test1_dashboard_baseline_input' .I need to restrict delete button in list view for this two tables . So ,using business rule how can I do that?

Please help me asap.

2 REPLIES 2

Sulabh Garg
Mega Sage
Mega Sage

Hello

This is a UI Action, you can Duplicate the Delete (Table: Global or in your case its custom application) and modify the Table as 'x_snc_aob_test1_request_baseline_input' or 'x_snc_aob_test1_dashboard_baseline_input'. Then you can uncheck the List option

Please Mark ✅ Correct/helpful, if applicable, Thanks!! 

Regards

Sulabh Garg

Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Sulabh Garg

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can update the table level DELETE ACL and remove that but it would hide Delete on form as well

Do you want user including admin not to delete the record either from form or list?

if yes then elevate your role to security_admin open table level DELETE ACL

-> uncheck admin overrides

-> advanced checkbox true

-> script

answer = false;

Regards
Ankur

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