Apply CI Identification and Reconciliation to Import Sets
Fri Sep 22 2023 03:29:20 GMT+0000 (Coordinated Universal Time)
Saved by
@RahmanM
(function runTransformScript(source, map, log, target) {
// Call CMDB API to do Identification and Reconciliation of current row
var cmdbUtil = new CMDBTransformUtil();
cmdbUtil.identifyAndReconcile(source, map, log);
ignore = true;
if (cmdbUtil.hasError()) {
var errorMessage = cmdbUtil.getError();
log.error(errorMessage);
} else {
log.info('IE Output Payload: ' + cmdbUtil.getOutputPayload());
log.info('Imported CI: ' + cmdbUtil.getOutputRecordSysId());
}
})(source, map, log, target);
content_copyCOPY
Using IRE in Transform Map!
https://docs.servicenow.com/bundle/rome-servicenow-platform/page/product/configuration-management/concept/ire.html
Comments