Duplicate CIs and IRE

Ed Laar
Mega Guru

Hi Community,

The IRE checks on duplicate CI's using the Identification rules. If a duplicate CI is found a de-duplication task is created. Processing this de-duplication task is dependent of 2 properties: Skip duplicates and Duplicate threshold (default=5).

When Skip duplicates=false (ie duplicates are processed) but the number of duplicates of a single CI is above the threshold, not a single duplicate is processed.

Questions I have:

  • What is the best practice to deal with CIs that have more than, in this use-case, 5 duplicates?
  • Are de-duplication tasks auto closed when they are processed? So are open de-duplication tasks usable for duplicate reporting?

Looking forward to your responses,

 

Best regards,

 

Ed

5 REPLIES 5

Hi @Ed Laar ,

 

During the CI identification method in the CMDB, duplicate CIs are determined by the following properties:

  • glide.identification_engine.skip_duplicates: True by default.
  • glide.identification_engine.skip_duplicates.threshold: set to 5 by default.

To modify these properties, we need to add them to the System Properties (sys_properties) table, where the numbers of duplicate CIs are detected. You can configure these properties so duplicated CIs are automatically reconciled, skipping duplication.

 

If glide.identification_engine.skip_duplicates is true, and the numbers of duplicate CIs are lesser than the threshold specified by glide.identification_engine.skip_duplicates.threshold, then the oldest of the duplicate CIs are picked as a match and gets updated.

 

The rest of the duplicate CIs are tagged as duplicates by setting the cmdb_ci’s discovery_source field as ‘Duplicate’. During matching, the identification engine filters out any CIs in which statediscovery_source=Duplicate. If glide.identification_engine.skip_duplicates is false, then matching of duplicate CIs fails with an error, and none of the duplicate CIs are updated.

 

Also refer the below article, which help and clear the understanding on this.

 

https://www.servicenow.com/community/itom-articles/servicenow-duplicate-cis-solution-script-report/t...

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

AJ

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

ServiceNow Community Rising Star 2024