CMDB Identification and Reconciliation Error "Reference value field name is not an identifier for the CMDB table which is the parent for reference field . Skipping this record"Description<!-- div.margin{ padding: 10px 40px 40px 30px; } table.tocTable{ border: 1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); padding-top: .6em; padding-bottom: .6em; padding-left: .9em; padding-right: .6em; } table.noteTable{ border:1px solid; border-color:#E0E0E0; background-color: rgb(245, 245, 245); width: 100%; border-spacing:2; } table.internaltable { white-space:nowrap; text-align:left; border-width: 1px; border-collapse: collapse; font-size:14px; width: 85%; } table.internaltable th { border-width: 1px; padding: 5px; border-style: solid; border-color: rgb(245, 245, 245); background-color: rgb(245, 245, 245); } table.internaltable td { border-width: 1px; padding: 5px; border-style: solid; border-color: #E0E0E0; color: #000000; } .title { color: #D1232B; font-weight:normal; font-size:28px; } h1{ color: #D1232B; font-weight:normal; font-size:21px; margin-bottom:-5px } h2{ color: #646464; font-weight:bold; font-size:18px; } h3{ color: #000000; font-weight:BOLD; font-size:16px; text-decoration:underline; } h4{ color: #646464; font-weight:BOLD; font-size:15px; text-decoration:; } h5{ color: #000000; font-weight:BOLD; font-size:13px; text-decoration:; } h6{ color: #000000; font-weight:BOLD; font-size:14px; text-decoration:; } ul{ list-style: disc outside none; margin-left: 0; } li { padding-left: 1em; } --> Symptoms The error below may occur when calling the Identification Engine using Import set transformation.Ref.: https://docs.servicenow.com/csh?topicname=c_CMDBTransformUtilAPI.html&version=latest "Reference value field name [Name of the reference value field ] is not an identifier for the CMDB table <Table Name>[table where we are pointing to] which is the parent for reference field <Field> [Reference Feild name in the Source of the import set ]. Skipping this record" Cause An example scenario is when creating a new field on the [cmdb_ci_computer_room] table.The error triggers when deactivating the identifier entry on the CI hardware, which is inherited by the CI computer, for the criterion attribute. The system is then not able to identify the table records using that criterion value. When enabling the identifier entry, the system is able to identify the referenced record based on the criterion attribute.Ref. documentation on transform utilities: https://developer.servicenow.com/app.do#!/api_doc?v=kingston&id=r_CMDBTransformUtil-identifyAndReconcile_Object_Object_Object When disable the transform script, this does not go through IRE, so the error is not generated. In that case, what to do with the reference field is based on how the field mapping is configured.Ref.: https://docs.servicenow.com/csh?topicname=t_CreatingAFieldMap.html&version=latest Resolution Use a script to find the referenced CI and set it to the reference field. This is possible using an onAfter script of the transform map, following the steps below: Do not map the reference field in your transform map so that CMDBTransformUtil will not throw an error saying that the reference field is not an identifier.In the onBefore script that calls CMDBTransformUtil to make the following change so that the sys_id of the record inserted/updated by IRE is captured:target.sys_id = cmdbUtil.getOutputRecordSysId(); // add this line in the else block of if(cmdbUtil.hasError()) condition log.info('IE Output Payload: ' + cmdbUtil.getOutputPayload()); // this line is already thereCreate a new 'onAfter' transform script with the code listed below. It should run after the CMDBTransformUtil has identified the record to insert/update. This script should find the referenced CI and set it to the reference field. (function runTransformScript(source, map, log, target /*undefined onStart*/ ) { //find the referenced CI based on the attributes we know //In this case we have the name of the referenced CI in the source //If the source has more fields on the referenced CI we can add them to the query so that //we can get the matching CI var gr = new GlideRecord('cmdb_ci_computer'); gr.addQuery('name', source.getValue('u_test_computer')); gr.query(); if (gr.next()) { var referencedSysId = gr.getValue('sys_id'); var targetSysId = target.getValue('sys_id'); //update the target with the reference var gr2 = new GlideRecord(target.getTableName()); if (gr2.get(targetSysId)) { gr2.setValue('u_test_computer', referencedSysId); gr2.update(); } }})(source, map, log, target);