Removing Duplicate Records from sys_object_source (Source) from SCCM/KeyServer imports

Emmon Johnson
Giga Contributor

Hey all!

Last year I developed an equipment loan process for our Labs Desk Laptop Sign Out Program. We use KeyServer and SCCM to populate our Configuration Items so I decided to utilize the wealth of information in the Configuration table so that we could better track the Laptops. It's been working well for the past year, but last month we discovered that 11 out of the 16 devices disappeared from the Configuration Items in ServiceNow, but I can find them in the tables that populate the SCCM and KeyServer data to our ServiceNow instance.

Long story short, we've narrowed the issue down to duplicate records that are in the sys_object_source (Source) table. Our systems team just want to delete the data, but ServiceNow does not allow us to delete data from that table. Our system's guy is referencing posts and documentation from Jakarta thru London:
https://community.servicenow.com/community?id=community_question&sys_id=4a734f25dbd8dbc01dcaf3231f96...

https://docs.servicenow.com/bundle/london-it-operations-management/page/product/discovery/task/t_Cha...

https://docs.servicenow.com/bundle/jakarta-platform-administration/page/integrate/cmdb/reference/scc...

find_real_file.png

From what I can see is that it looks like you use to be able to delete directly from this table, but it looks like ServiceNow developed a wizard/process for remediating duplicate records (Duplicate CI Remediator wizard, looks like this started in Kingston): https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/product/configuration-management...

https://docs.servicenow.com/bundle/newyork-platform-administration/page/integrate/cmdb/reference/how...

https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/product/configuration-management...

https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/product/configuration-management...

So the big question is what is the proper way for removing these duplicates?

1. Our systems team just wants to delete the record from the sys_object_source (Source) table but the system does not allow that, so how would they delete the record.

2. We use the Duplicate CI Remediator wizard to remediate the Configuration Items.

From what I can see, I think the proper way to proceed is to use the wizard, but our systems team wants to check to see if we can just delete the records. Any advice would be appreciated.

Emmon Johnson
ITS Customer Support Solutions Specialist
SUNY Oneonta

6 REPLIES 6

Kelly Logan
Kilo Sage

How time sensitive is this? Could you modify the records to make them no longer duplicates while you determine if deletion is the best course and how to do it?

It's not too time sensitive. We have a series of laptops that are still in the system and so far the demand isn't to high. Where we will need the rest will be towards the end of the semester (mid-April).

Just checked to see if we can change the Target sys ID and it looks like we can't.

Sunniva
Tera Contributor

Hi Emmon,

Did you find a solution to your issue? I am also looking into to a way to delete records in sys_object_source.

-Sunniva