when transform map runs it should not create any record only run script should create a record

Vijay Kumar21
Tera Contributor

Hi Team,

 

I need to run a transform map to create a record using the 'run script'. There are no field maps available but still, the empty record is getting created. these empty records are not created thru 'run script'.

 

Any Suggestion?

 

VijayKumar21_0-1666709799922.png

 

1 ACCEPTED SOLUTION

Steven Young
Tera Guru

Every "record" that is import will create a new record through the transform map.   That is what the field map and "coalesce" value is for. to match the record and not create.

If you are creating records via the script, and you do not want to create a record for every one,  

then add

"ignore = true;"   at the end of your script 
Or

something like 
if(action == 'insert'){

ignore = true;

}


this way you'll create whatever through your regular script, but the transform map will not create records.

View solution in original post

1 REPLY 1

Steven Young
Tera Guru

Every "record" that is import will create a new record through the transform map.   That is what the field map and "coalesce" value is for. to match the record and not create.

If you are creating records via the script, and you do not want to create a record for every one,  

then add

"ignore = true;"   at the end of your script 
Or

something like 
if(action == 'insert'){

ignore = true;

}


this way you'll create whatever through your regular script, but the transform map will not create records.