ServiceNow Transform Map - prevent a particular row from being processed
example 'run script' code
(function transformRow(source, target, map, log, isUpdate) {
if (action=='insert' && source.u_status=='I'){
gs.warn (source.u_employeenumber + ' row ignored-disable on insert is not required::T-MAP');
ignore=true;
}
})(source, target, map, log, action==="update");
Comments
Post a Comment