CMDB identification rules in ServiceNow match a discovered item to an existing configuration item using ordered identifier entries. Those entries compare selected attributes on the CI or a related lookup table. Inclusion rules limit the eligible records. Check the incoming values, entry order, and inclusion conditions together to understand the resulting identity match.
Trace the discovered item before changing a rule
Start with one incoming item and the CI you expect it to update. Record the submitted class, identifying values, lookup items, and discovery source. Compare those values with the stored record. A rule that looks correct in CI Class Manager can still fail when the payload lacks an attribute required by its first usable entry.
Separate two questions during investigation: whether the intended record is eligible and whether an identifier entry matches it. Check eligibility before weakening the matching criteria. An identifying value cannot help find a record excluded by the inclusion condition. Record both decisions so the next test targets the failing check.
Each CMDB class can have one identification rule, containing multiple entries. Review the class hierarchy before proposing a new rule. The broader identification rules guide provides context for the class-level design; here the focus is tracing which existing record receives discovered data.
Configure CMDB identification rules in ServiceNow
For creating and editing CI identification rules, sn_cmdb_editor and itil have read access; sn_cmdb_admin and itil_admin (on top) have full access. Check these procedures against your instance and release before making changes.
- Navigate to All > Configuration > CI Class Manager. Select Hierarchy and choose the discovered item’s class.
- Expand Class Info and select Identification Rule. Inspect whether the displayed rule is defined on this class or derived from a parent.
- Select Edit, Add, or Replace as appropriate. A derived rule cannot be edited at the child class; Replace is available for a class with a derived rule.
- Set Independent/Dependent, Name, and Description, then select Save. A dependent identifier requires dependent relationship rules for the selected class.
- Under Identifier Entries, inspect an existing entry or select Add. Choose the main-table, lookup-table, or hybrid option before setting its criteria.
Keep the rule description specific enough to explain the identity decision. For example, describe why a related serial-number record distinguishes the intended hardware population. A description that merely repeats the class name gives the next administrator little help when a second discovery source supplies different identifiers.
Choose entries that the discovered payload can satisfy
A regular entry compares Criterion Attributes on the selected CI table. A lookup entry compares attributes on another table, whose Search On Table must have a reference to cmdb_ci. A hybrid entry combines attributes from the main table and another table. Choose based on where the identity evidence is actually stored.
At least one entry must be Active for the rule to apply. Priority determines entry order: smaller numbers run earlier, while entries with equal priority run randomly. Give entries distinct priorities when their sequence matters. Leave gaps if you expect to insert another entry later without renumbering existing entries.
The Allow null attribute setting determines whether an entry can be tried with missing criterion values. Selecting it permits an attempt when at least one criterion attribute is populated; clearing it requires a value for every criterion attribute. For example, a regular entry using serial number and name could be attempted with a supplied serial number and an empty name when this setting permits missing values. Hybrid entries set this option to false and require values for selected criteria from both tables. Test missing-value payloads before accepting a hybrid design.
Reference fields deserve extra scrutiny as identity criteria. They store references to other records, and invalid values can become Unknown. Several CIs sharing that replacement value can undermine uniqueness. Prefer evidence you can explain and verify against the actual candidate records rather than assuming a populated reference proves identity.
The Hardware Rule example uses Serial Number and Serial Number Type in cmdb_serial_number. Inspect the type alongside the number when tracing lookup data: the payload can contain several serial-number items for one CI. Compare the submitted lookup values with records that reference the expected CI, rather than searching the main CI table alone.
For a lookup-based investigation, continue with CI lookup rules when you need to examine how related-table values participate in matching.
Check lookup counts and inclusion boundaries
Enforce exact count match changes the evidence required from lookup items. When enabled, the payload’s lookup items must have matching lookup records referencing the same CI. When disabled, a matching lookup item can be sufficient. With multiple matches, the disabled setting favors candidates with more matching input lookup items, then the oldest created CI if a tie remains.
With exact count enforced, multiple matching candidates are resolved to the oldest created CI. Test an item with several lookup values and compare the candidate set before changing this option.
Identification inclusion rules narrow the records considered during identification and independent-CI duplicate detection. With no such rules, CIs participate in identification and the CMDB Health duplicate metric calculations. The base system has no predefined identification inclusion rules.
To create or edit a CI inclusion rule, sn_cmdb_editor and itil have read access; sn_cmdb_admin and itil_admin (on top) have full access. In CI Class Manager, choose the class, expand Class Info, and select Identification. Under Inclusion Rule (Advanced), select Add or Edit, set Active record condition, and select Save.
Evaluate the intended CI against that condition explicitly. Excluding a lifecycle state changes the matching population and can change duplicate visibility. Inclusion rules affect scripts calling IRE and can affect Discovery and Service Mapping. Treat an apparently improved duplicate metric as a prompt to check coverage, not as proof that duplicates were removed.
Inspect hybrid and related entries before retesting
For a hybrid CI entry, work through General Settings, then Main Table Settings, then Lookup Table Settings. Select the main-table attributes before choosing the lookup table and its Criterion Attributes. The lookup table needs a reference to cmdb_ci. Save after completing the lookup settings. Optional conditions belong on the lookup side of a hybrid entry; they are unavailable for its main table.
Inspect the two halves separately when a hybrid entry cannot be attempted. List the selected attributes by table, then compare each list with the incoming values. A complete main-table record does not compensate for missing lookup criteria. This check helps distinguish an incomplete payload from a mistaken choice of table or attributes without changing the identifier’s design.
Related Entries provide criteria for related items carried with the CI. For CI identification-rule creation or editing, the same action-specific access applies: sn_cmdb_editor and itil have read access; sn_cmdb_admin and itil_admin (on top) have full access. Under Related Entries, choose Add or open an entry, complete the Related Entry form, and select Save.
Check Related table against the related item’s table. Referenced field identifies the field that should hold the CI reference and must point to cmdb_ci or one of its descendants. Criterion attributes identify the related item. Use the lock icon to inspect or adjust that attribute selection. Filter conditions narrow the related-item search, while Active determines whether the related entry is active.
Related-entry priority applies within the specified Related table. Smaller numbers take precedence, and equal priorities produce random ordering. Keep a separate list of those priorities when investigating related items so they are not confused with the identifier entries used for the main CI. For the broader subject, see CMDB identification and reconciliation.
For help planning these changes, see ServiceNow implementation.
Validate the outcome with a small test set
Build a test set around the failure you are fixing. Include a complete identifier, a missing criterion, multiple lookup items, an excluded candidate, and a related item with its own identifying values. For each case, write down the expected CI and the related-item criteria being tested before processing the payload.
Compare the result against those expectations. A new record where an update was expected points you back to class, criteria, entry order, or candidate eligibility. In the Hardware Rule lookup example, a failed lookup match advances identification to the next entry; exhausting the rules without a match creates a new CI. Trace the unsuccessful entries before changing the candidate population. Keep evidence of the payload and resulting record so the next test changes one variable at a time.
If the investigation reaches creation or class changes, use CI creation and reclassification to frame that next decision. Avoid broadening a matching rule merely to make one test stop creating records; first establish that the proposed criteria distinguish the rest of the affected population.
Questions about identification edge cases
Can a rule using name and sys_class_name match an empty name?
No. When those are the two criterion attributes, name must have a value even with Allow null attribute enabled. The same restriction applies to ip_address paired with sys_class_name: the other attribute cannot be null.
What must be reviewed before enabling optional identifier conditions?
Review preconfigured regular-entry conditions before setting glide.identification_engine.enable_identifier_optional_condition to true. The property defaults to false. Enabling it activates those predefined conditions as well, so the scope of the change can extend beyond the entry being investigated.
Can a dependent identifier fall back to its parent’s rules?
Allow fallback to parent’s rules supports that behavior when no match is found for the dependent identification rule. This setting applies to dependent rules. Verify the parent criteria and supplied relationship evidence before relying on the fallback.
Where can I review inclusion rules across classes?
Open All > Configuration > Identification/Reconciliation > Identification Inclusion Rules to review the list. Use that overview to locate the class rule involved in an investigation, then compare its condition with the particular stored CI being tested.
Do supported non-CMDB tables use dependent identification?
No. Supported non-CMDB tables use independent identification rules. They also have their own identification and inclusion configuration paths. Keep those records separate from the CI class investigation so a similarly named table does not lead you to change the wrong rule.