Differentiate attachment deletion by permissions

Potemi
Tera Contributor

I can attach files to records in a table, but can I distinguish between who can and can't delete attachments? Currently, we are considering whether it is possible to manage the delete attachment button by user role.

Potemi_0-1703207049773.png

 

1 REPLY 1

Harish KM
Kilo Patron
Kilo Patron

Hello @Potemi Check below URL for example. You need before-delete business rule on attachment table and have conditions and script has shown in below URL

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0825743

 

or you could go for delete ACL on attachment table as well

Regards
Harish