Skip to main content
estefania_rabad
Silver ⭐️
Jun 14, 2017 6:15 PM UTC
Solved

Apache NiFi: How to Remove the RouteOnAttribute.Route Attribute Using UpdateAttribute

I have a workflow that routes on attribute depending on a type, but it sets a RouteOnAttribute.Route param on a flow that has all of the filters, I don't want that, how can I prevent the processor to do this? Thanks

MattWho
MattWhoAnswer
Titanium ⭐️⭐️
Jun 14, 2017 7:09 PM UTC
@estefania rabadan

There is no processor configuration option to turn off what attributes a processor writes on to a FlowFile it processes. However, you can use the UpdateAttribute processor to remove attributes from FlowFiles.

Thanks,

Matt

2 replies

MattWho
Titanium ⭐️⭐️
MattWhoAnswer
Titanium ⭐️⭐️
Jun 14, 2017 7:09 PM UTC
@estefania rabadan

There is no processor configuration option to turn off what attributes a processor writes on to a FlowFile it processes. However, you can use the UpdateAttribute processor to remove attributes from FlowFiles.

Thanks,

Matt

Translate
estefania_rabad
Silver ⭐️
Jun 14, 2017 7:10 PM UTC

thanks for the quick reply matt, i'll use that solution!

Translate