Archiving related records from a table

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 06:51 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 09:14 PM
Hi @Vineetha Rohra1 ,
You can refer to the thread which can help you :https://www.servicenow.com/community/cmdb-forum/how-to-set-an-archive-related-record-for-case-tasks-...