CI Creation options:
- Manual
- Transform Map
- Discovery
- Service Mapping
Transform map script: onBefore
var cmdbUtil = new global.CMDBTransformUtil();
// Optional: Explicitly define the Discovery/Data Source name registered in your CMDB
// cmdbUtil.setDataSource('ImportSet');
cmdbUtil.identifyAndReconcile(source, map, log);
// CRITICAL: Stop the standard transform engine from processing the row a second time
ignore = true;
if (cmdbUtil.hasError()) {
var eMessage= cmdbUtil.getError();
gs.info(eMessage);
}