Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Archiving millions of records

Daniel Grande
Tera Expert

Hello I am working on cleaning up the data in our CMDB. We have identified a table of network adapters that is of no use to us and we would like to archive. The problem is there are 5 million records in the table. I set up archive rules but at the current pace it will take 500 days to archive all the records. Is there a faster way to archive the entire table worth of records? 

6 REPLIES 6

Pratiksha
Mega Sage
Mega Sage

Define staleness rule for the network adapter. Once the stale CI is reported on health dashboard, then create a flow to make them retired/delete.

 

Mark it Helpful and Accept Solution !! If this helps you understand.

Hello do you have an example flow and is it possible to archive the records rather than delete?

I have shared the options which you get on network adapter. The good practice is to retire them. so that you can still have the related records for the CI's. 

 

For flow : https://www.youtube.com/watch?v=Hndaax8qf60

 

Mark it Helpful and Accept Solution !! If this helps you understand.