Merge Duplicate CIs

Jon Ulrich
Kilo Guru

I have found several manually created Configuration Items that are duplicates in our CMDB.

Is there a way to merge duplicate CIs together, to preserve relationships and references?

2 REPLIES 2

mmongeau
Giga Guru

I had to do this for a few duplicate CIs in our environment and I used a manual process.   If the number of references to each is large that may not be practical.



Start in the CIs Affected table (type task_ci.list in the navigator search).   Find all the task records that reference either of the CIs.   Depending on which one has more tasks linked to it (call it the primary CI), update the tasks linking to the other CI to reference the primary CI.     Once you are sure there are no more references to one of the CIs you can delete it.



Michael


akash_mehta
ServiceNow Employee
ServiceNow Employee

Johnathan:   There is an Enforce CI checkbox on the model category - For any CI created in that particular class and it is a new CI, the system will allow you to Merge the CI with a UI Action.



You may be able to utilize the associated UI action - without using the Enforce Capability



This article has some information on it:


http://wiki.servicenow.com/index.php?title=Model_Categories#gsc.tab=0



If you are in a newer SN environment you may be able to use the De-duplication task:


Resolve de-duplication tasks



Hope this helps.