Without completely understanding your scenario, may I suggest you insert UpdateAttributes to do this before PutTCP? It supports Expression Language.

Hope this helps.


On 12/12/2016 01:04 AM, ddewaele wrote:
We have a flowfile that contains a number of environment specific values
(ports / hostnames / .....).

Am I correct in saying that there is no immediate variable registry
somewhere in nifi, and that all of these environment specific items need to
be passed as environment variables or java system properties ?

I understand that the nifi expression language allows us to retrieve
environment variables / system properties, but a number of processor don't
support the expression language for fields that do contain environment
specific values (like the PutTCP processor hostname property).

How should we go about updating those ?

View this message in context: http://apache-nifi-users-list.2361937.n4.nabble.com/Making-FlowFiles-environment-independent-tp409.html
Sent from the Apache NiFi Users List mailing list archive at Nabble.com.