Select Page

The Best Way to Find Duplicate CI Relationships

by Mikko Juola | Feb 3, 2022 | Articles, CMDB, CSDM, How To, Use Cases

Managing CI relationships in ServiceNow can be a struggle, and maintaining the relationships manually can be downright tedious. Furthermore, mistakes can come at a price. For example, ServiceNow Discovery relies on these relationships, and if duplicate CI relationships exist, updating a record can fail.

If you’re a capable ServiceNow developer or have one at your disposal, you can write scripts to query duplicate relationships. However, this is unnecessarily complicated and time-consuming and probably requires elevated user rights.

See some discussion on the topic in the ServiceNow Community

Find Duplicates Without Scripts

I’ll show you how to quickly find duplicate CI relationships using Data Content Manager with no scripting. Then, you can use the same method to monitor CI relationships’ integrity continuously and spot those duplicate CI relationships as they appear – before they cause problems.

Data Content Manager can solve all kinds of data quality issues on the platform. This one is just a straightforward but effective use case. If you’re unfamiliar with DCM, check out this 1½ minute intro video.

Here’s how to find duplicate CI records in just a few minutes with visual tools, no scripts, and no admin rights.

Draw a Blueprint with Duplicate Checking Enabled

Here is a simple blueprint that begins from the CI Relationships table (the one in the middle, marked with “R”). The Blueprint also includes CI references for Parent and Child Configuration Items.

CI Relationships Blueprint

Run an Audit and find CI Relationship Problems

When you run an audit with DCM against the simple Blueprint that we just created, these are the things you can expect to find:

  • If any of the CI Relationships are missing a Parent or a Child reference (Yes, this happens surprisingly often)
  • If any duplicate CI relationships exist

Running the audit once will give you the baseline and understanding of the current situation. Running the audit on a scheduled basis will help you identify and remedy these issues when they occur.

Audit Results and Built-In Reports

Once the audit is complete, you can immediately see the results without creating extra reports.

For a single audit run, you can see:

  • Duplicate CI relationships
  • CI relationships that exist without a Parent CI
  • CI relationships that exist without a Child CI
CI Relationships Audit Results

Built-in reports in DCM will show issues identified by the audit and their impact on your overall data compliance.

Duplicate Records per Class

Example report showing “Duplicate Records per Class”

Missing CI Reference Report

Example report showing “Missing links” for CI Relationships

When you add this new Blueprint to your weekly data audit schedule, you begin to see trends and the impact on your overall data quality in ServiceNow.

CI Relationships Trend

Easy Set-Up, Quick results

It is better to find these and other data quality issues as they occur instead of when they cause problems with Discovery or any other platform functionality that depend on the integrity of these relationships.

Drawing a simple blueprint like the one shown here only takes a few minutes with Data Content Manager. You can set the audit up to run on a schedule, so you will be able to catch duplicate CI relationships when they occur – along with any other deviations from your data models.

Try it Out

If you want to try this, you can run this audit in your own (non-production) instance with a free Data Content Manager Trial. We’ll give you the template and help you set it up. Setting up the Trial, the template, and running the audit will only take about an hour, and you will get tangible results!

If you’re already a DCM user, just let us know if you want to try this, and we’ll send you the template.

Talk to Us!

Book a meeting with us and we will show you what we described here, along with many other things that will help you improve the quality of your data in ServiceNow.

With CSDM providing a prescriptive data model and DCM providing a view of our data in a consumable manner, we are able to drive the necessary changes across the bank in a non-obtrusive way, which is seen to add value to our business, not be viewed as an operational overhead.

Craig Alexander
SVP, Danske Bank

DCM has delivered incredible value to our business by drastically accelerating application rationalization. What would have taken years to complete was achieved in just months. Its intuitive, well-designed GUI makes navigation seamless for both users and administrators. Most importantly, DCM has significantly matured our CMDB, bringing clarity and structure. We highly recommend both the product and the outstanding team at Qualdatrix.

Banner Health

My complex Blueprint was up and running in 10 minutes, and I got audit results immediately. It would have taken months to complete without DCM.

Enterprise Architect
Global Healthcare Company

DCM has been central in federating our dependency mapping to technical teams, and that momentum is building. It’s been a successful first year, and we’re extending use with additional blueprints.

Product Manager - Service Catalog
U.K. Public Sector

DCM provides transparency and a holistic view of the state of our CMDB. It helps us find and fix deviations as they happen. It's vital that with DCM, we can see the big picture as well as drill down into the details at any time. We don't have to think about how to get this data together and how to update it. Once the Blueprint is set up and the audits run, it's all there in the dashboards.

Mika Lindström
ICT Configuration Manager, Metsäliitto Cooperative

Data Content Manager is an excellent tool to measure and control data quality in your ServiceNow instance. It offers much more sophisticated data model definitions than you can get with native CMDB data quality metrics which we were using previously, and this was our main reason for the purchase. It also comes with its own audit and remediation features which make data maintenance easier. Highly recommended!

Lotta Jouhtimäki
Product Owner, ServiceNow, Posti Group

The CMDB Data Quality Playbook

A Practical Guide for Improving ServiceNow Data Quality, Governance and AI-Readiness.

  • A practical way to establish ownership and roles
  • The 5-step model for data quality improvement
  • Best practices for engaging data providers
  • Five common pitfalls in CMDB data quality and how to avoid

We need your contact information to send you this eBook and communicate with you. You can unsubscribe anytime.