Hide "Delete" button from Approval form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:39 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:41 AM
You should use ACL to do so.
If a user doesn't have deletion rights on sys_approval table, he won't be able to see this UI Action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:42 AM
The most effective way is to remove Delete Access to the Approval table.
You can do it by modifying the ACL structure on the Approvals table to not allow anybody to delete the Approvals.
Hope that helps.
Thanks,
Subhajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:49 AM
The best one as said above like create delete acl for required roles like give admin, then admin only delete the approval records.
or one more way was, go to the ui action delete button (global delete ui action )
in the condition add, (!current.sys_class_name=='sysapproval_approver') // remove for admin also
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 05:04 AM