Skip to main content

I have defined a custom transformer, and it is outputting more attributes than what I want. I just want to output these two attributes (network_id and lower_network_id):

 

But when using it in the main workbench, it is also outputting attributes from the original input features:

 

I assume this is is because they automatically propagate all source attributes forward, but I want to avoid this, I just want the two-column list. How can I achieve this?

Try inserting the AttributeKeeper before the output port to keep only required attribute.


Try inserting the AttributeKeeper before the output port to keep only required attribute.

This works, thanks.


Reply