Archiving related records from a table

Vineetha Rohra1
Giga Guru

I am working on a requirement where we want to archive data in our ServiceNow instance based on contract. For example, all contracts where contract model is XYZ,  should be archived.

It's easy when I want to archive contracts, it's a direct condition.

However when it comes to assets or Cis there's no direct linking.

There's an OOB table Asset covered (clm_m2m_contract_asset) where asset is linked to a contract.

If i apply rule on Contract table, I only see Asset covered in the related record list and not the assets.

 

How should I configure my archive rule and on which table such that all 3 of these objects i.e. contract, assets as well as m2m get archived.

1 REPLY 1

Community Alums
Not applicable