Restrict Attachment deletion by requestors in HRSD
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
we need to restrict requestors and HR advisors from deleting the attachments, so that no wrong document is deleted and we have an audit trail of what has been deleted by whom.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
57m ago
Hi @himangiG ,
there are couple of ways to do this
1)Create delete business on the sys_attachment table, check if its a requestor/HR advisors abort the action and log who tried to delete (this is like reactive approach)
2)Create a Delete operation ACL on the sys_atttachment table to exclude requestor/HR advisors from deletion
Let us know if you need full set up with logic as well.
Hope it helps!
Accept and hit Helpful if it helps.
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026
