OBLYTECH Logo
OBLYTECH Logo

ServiceNow CMDB Identification and Reconciliation Explained

ServiceNow CMDB identification and reconciliation is the step that decides whether an incoming record describes a configuration item (CI) you already hold or a new one, and then which source wins when two feeds disagree about the same CI. Get the identifier rules and source priorities right and the CMDB keeps one record per real asset. Get them wrong and you see duplicates, values that flip between answers, and CIs nobody trusts.

What the identification and reconciliation engine does with each record

Each time a discovery scan, an import set or an integration writes data into the CMDB, the engine has to answer two questions. The first is identity: does this record belong to an existing CI, and if so, which one. The second is precedence: when an attribute differs from the stored value, should the new value overwrite it. Many duplicate and drift problems come from answering the first question loosely, or leaving the second to default settings nobody reviewed.

Treat the engine as a gatekeeper that matches and arbitrates. How it behaves depends on your release and the plugins you run, so check the settings in your own instance before changing anything. For the wider picture, see the ServiceNow CMDB guides.

How identifier rules decide that two records are the same CI

An identifier rule names the attributes that make a CI unique within its class. For a server that might be a serial number, a fully qualified host name, or an asset tag paired with a manufacturer. The strongest identifiers are unique and stable: a serial number normally survives a rename, while a host name often does not. Weak identifiers, such as an IP address that DHCP reassigns or a free-text label, cause false matches where two physical machines collapse into one CI.

Write the rule from the bottom up. List what each source supplies reliably, then pick the smallest attribute set that is unique across the class, and test it on real records before enabling it. A common failure is an identifier that works for discovery and fails for a spreadsheet import, because the spreadsheet stores the name in a different case or drops the domain. The way each integration pattern feeds the CMDB often explains that difference.

A worked example: two sources disagree about one server

Take an illustrative server. Discovery records its serial number, host name and operating system version, and sets its location from the rack it sits in. A separate asset register import carries the same serial number, an owning team, a cost center, and a location typed by a person that names a different building.

The identifier rule matches both records to one CI because the serial numbers agree, so no duplicate appears. The conflict now sits in the attributes. Reconciliation checks the priority configured for each attribute. If discovery ranks above the import for location, the rack-derived building wins and the spreadsheet value is dropped for that field. The owner and cost center do not clash with anything, so the import fills them in. The result is one CI with a location from the source that observes it and an owner from the source that governs it.

Reverse the ranking for location and the spreadsheet building overrides the rack-derived one on every run, so the CI stops reflecting what discovery observes. Restore the ranking rather than rerunning the import.

Setting source priority so trusted data is not overwritten

Source priority is where most of the judgment sits. Rank sources by how directly they observe an attribute, not by how much you trust the team that runs the feed. Discovery is the better authority for what is installed and running. An asset register is the better authority for ownership and financial fields. Manual entry is often the least reliable for technical attributes. Write the ranking down per attribute group, because one source may be trusted for some fields and not others. The source authority decisions behind each ranking should be recorded, not left in someone’s head.

  • Technical facts observed on the device: discovery first.
  • Ownership, cost center and contract fields: the register or procurement feed first.
  • Manually typed values: last, unless the accountable owner has approved the change.

Why duplicates appear after an import and how to stop them

Dependent CIs, such as a database on a virtual machine, make identification harder. A feed that names a database by its listener and a scan that names it by its instance can create two records unless the identifier rules reflect both. Virtual hosts add another trap: a feed reporting the hypervisor address and one reporting the guest address can produce two machines where there is one.

When a new feed starts creating duplicates, treat it as a data problem before touching the rules. Compare the identifier fields it sends with the CIs it landed on. Look for name casing, trailing domains, leading zeros in serial numbers, and blanks sent as empty strings. Fix the mapping in the feed first, then merge the existing duplicates through a documented process. Change an identifier rule only once the feed is confirmed correct and the rule is at fault. The reconciliation and duplicate control work follows the same order: diagnose the feed, then the rule, then the cleanup.

Routing import set rows through identification before they land

An import set can write each row straight into a CMDB table, so a row that matches an existing CI can create a duplicate. Calling the CMDBTransformUtil API from the onBefore transform map script sends each row through the identification engine first: a match updates the existing CI, and no match inserts a new one.

Setting the ignore flag to true stops the import set writing the row a second time once the engine has handled it. Two limits matter. Dependent CIs cannot use this route, so feeds for dependent CIs, such as a database on a virtual machine, need a different approach. The API also skips mandatory-field checks, so a row missing a required value still fails. For the wider mechanics, see the import set explainer.

Enriching CIs without overwriting data you already trust

Enrichment is the case where a source knows only some fields. The safe pattern is to authorize the lower priority source only for the attributes it should own, so it cannot replace a value a higher priority source has set while that value is current. Confirm that your settings behave this way for each class you enrich, because without reconciliation rules, discovery sources can overwrite each other’s updates. Test on a few CIs you know well, check their change history, and only then run the feed across the class. Completeness checks after each run belong to CMDB data quality governance.

Reconciliation applies to updates, so review the engine’s tasks

Reconciliation applies when the engine finds an existing CI to update. A new CI is inserted without a reconciliation check, so the first value written to it is not tested against source priority, and a weak value can stay until a higher priority feed updates that field.

Duplicate matches are grouped into de-duplication tasks, and each task shows how the engine decided the CIs were duplicates, which is the place to check before merging anything. If automatic reclassification is disabled, a matched CI that needs upgrading, downgrading or a different class becomes a reclassification task for a person to decide on, rather than changing class on its own.

How do you permanently stop duplicate CIs from being created?

You stop duplicate CIs from being created by making sure every path that writes to the CMDB passes through identification, and by testing each source’s identifiers before it goes live. Cleanup clears the duplicates that already exist. Coverage is what stops new ones, and it holds only while each new feed, script and release is checked against it.

Start with an inventory of every write path

Prevention starts with a list of everything that writes to the CMDB, not with the identifier rules. Teams usually name Discovery and their own integration, then miss the scheduled script, the hand-loaded spreadsheet and the second feed from another group. For each path, record its source, whether it passes through the identification and reconciliation engine, the classes it touches and who owns its schedule. A path that bypasses identification gets no duplicate check from the engine.

Build a payload test set before enabling any feed

For each path, build a small set of rows from real output, including rows for CIs that already exist, with identifiers in the exact form the feed sends. Add the traps that most often split one machine into two, such as an identifier the feed sends under a field name the rule does not read. Log each row’s outcome as update, insert or reject on a non-production instance. An insert where an update was expected is a failed test, even when nothing visibly breaks.

Gate every new source and every release

Do not run a feed across a class until its rows return the expected outcome. Repeat the set after each upgrade and each mapping change, because identification behavior can shift without any change to the feed. Dynamic IRE is the case to watch. As of November 2026, it is described for the Zurich and Australia releases for Hardware and its descendants, and Brazil enables it by default on newly initialized or zBooted instances. Upgraded instances using Static IRE can switch, and not every existing instance changes identification behavior automatically. Check the active engine mode and classes in your own instance before relying on any release timing.

Track new duplicate groups by source after go-live

After go-live, count new duplicate groups by source each week. A jump after a release or mapping change points to that change. Confirm the cause of each pair before merging it.

What to ask for when someone else runs the work

Ask for these in writing, whether the work is internal or outside:

  • an inventory of write paths and the engine status of each
  • the payload test log, with expected and actual outcome per row
  • the identifier choice for each class, and why any weaker identifier was rejected
  • the weekly duplicate count by source for the first months after go-live
  • the engine mode and active classes at each release

Frequently asked questions

What does the identification and reconciliation engine do?

It matches each incoming record to an existing CI or creates a new one, then decides which source’s values are written to that CI when sources disagree. The reconciliation rules decide which source may write each attribute, so how accurate a stored value is depends on the authoritative source that supplies it.

How do I stop an imported feed creating duplicate CIs?

Compare the feed’s identifier fields with the CIs it created, fix the mapping so its values match existing records, and then merge the duplicates. Adjust the identifier rule only after you have confirmed the cause.

What happens when two sources disagree about the same attribute?

The source with the higher priority for that attribute keeps its value, and a lower priority update to that attribute is rejected unless the lower priority source is creating a new CI, which reconciliation does not check. Priority is set per attribute group, so one source can win on location and lose on owner. Defaults vary by release and plugin, so check your own configuration.

Can I enrich CIs without overwriting trusted data?

Yes. The engine rejects a lower priority feed’s update to an attribute that a higher priority source has set, unless that feed is creating a new CI, which reconciliation does not check. Test on a few known CIs, review their change history, and then run the feed across the whole class.