- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2020 06:27 AM
Hello Experts,
Recently we have a issue in which duplicate CI's are getting created having the Serial Number Empty but Name is same.
As per the identification when Serial Number is empty it should have checked for the Name Identifier then why duplicates are being created instead of updating the same record?
Also,after discovering the duplicates Class is different than the class of existing CI and IP address is same also in the Created By field name of user is occurring.
Please help!!
Regards,
Riya
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2020 03:34 AM
Hi Riya,
Can you please help which field we should consider other than serial number ,name to make a new Identifier rule especially for server table.
👉 You can use IP address attribute to create record uniquely or you can make asset tag as well if server is physical.
And also to delete the duplicates we should run the background script on individual table or base table (cmdb_ci)
👉 I suggest you to delete by individual class and check if it working fine or not it won't take much time.
whether deleting will automatically delete the their respective Relationships or not ?
👉 Yes,it will delete relationship as well.
Regards,
Ajim.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2020 07:05 AM
Hi Riya,
How are CIs created? Is it via data import or via discovery?
If it uses data import then you need to make sure the datasource has field correctly coalesced so as to avoid duplicates.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2020 07:26 AM
Hello Jaspal,
Thank you for the reply.
But van you please tell me how to differentiate between manually Imported CI and CI created through discovery.
Regards,
Riya

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2020 07:29 AM
Simple way would be to check the created_by name. It should be non system account for the import done manually via datasource.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2020 07:40 AM
Hello Jaspal,
I have checked that in the duplicate record created by contains the name of the user so that one is a manual Import.
And if so in order to avoid this we need to to carefully use the Coalense field right so that duplicate cannot be created.
Regards,
Riya