Custom Destroy rules for archived records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2023 10:56 AM - edited ‎08-01-2023 10:57 AM
We have archive rules on tables like RITM and Incident, however when I look at destroy rules we don't have a way to specify condition or script around it.
Anyone implemented custom destroy rules on archive records to delete xyz of RITM after 3 years and other after 5 years etc ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-26-2024 02:14 AM
Probably no longer relevant for OP, but writing it down just for tribal knowledge: for this scenario, you can use a Table Cleaner job to run on your archive table, instead of the destroy rule. See more here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2024 11:27 PM
Hi @Bharath38 please have a look at my recent article, it might give you some ideas of how to do it:
Archiving with ServiceNow ? - ServiceNow Community
Best regards,
Heiko