Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

Custom Destroy rules for archived records

Not applicable

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 ?

2 REPLIES 2

laszloballa
Administrator

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.

Heiko Bllr
Kilo Sage

Hi @Community Alums 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