How do I not write to an output port using the REFORMAT node

Hi,

I’ve got a more complex filter than I can put in the EXT_FILTER node so I’m using the REFORMAT node instead. However, it seems to copy all records from the input port onto all output ports even if I do something like outputRecords[0].reset();

Is there a way that I can suppress having null records written to the port so that I can avoid having to use a EXT_FILTER node afterwards to check for nulls?

Thanks.

Hello,
this feature was introduced in 2.6 version only. From this version, method transform returns integer value, where specific values means:
RecordTransform.ALL – send the data record(s) to all the output ports
RecordTransform.SKIP – skip the data record(s)
>= 0 – send the data record(s) to a specified output port
< -1 – fatal error / user defined