Preventing IRE Reclassification Between CMDB Child Tables

AzarS
Tera Expert

Hi everyone,

I’m encountering an issue with Identification and Reconciliation Engine (IRE) when importing data into CMDB.

Setup:

  • Parent Table: cmdb_ci_computer

  • Child Tables:

    • cmdb_ci_mainframe_hardware

    • cmdb_ci_pc_hardware

  • Identification Rule: Both child tables inherit the same identification rule from the parent table (cmdb_ci_computer), using computer_ci_parent as the identifier.

Issue:

  • When I import a CI for the first time, it correctly gets classified under one of the child tables.

  • When I import the same CI again (using another import set), instead of recognizing it as an existing record in the same child table, IRE deletes it from the first child table and creates it in the second one (causing reclassification).

Before Transform Script Logic :

 

// Trigger IRE Engine
    var cmdbUtil = new CMDBTransformUtil();
    cmdbUtil.setDataSource('ImportSet');
    cmdbUtil.identifyAndReconcile(source, map, log);
    ignore = true;
1 REPLY 1

Sandeep90
ServiceNow Employee
ServiceNow Employee

@AzarS  Please look at the options listed here https://www.servicenow.com/docs/bundle/yokohama-api-reference/page/app-store/dev_portal/API_referenc... and set the UPDATE_WITH_DOWNGRADE to false.