nifi-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Laim <>
Subject expression language: flowfile contents
Date Sun, 04 Oct 2015 00:24:52 GMT
Hey Everyone,

Is there a built-in language expression to represent the flowfile contents?

In my case, I have an incoming flowfile to an executeStreamCommand
processor.  The flowfile contains data that I would like to use as an
argument in the processor.

an example:

    flowfile(contents:'-ltra') ->

    execute stream command (command: ls, arguments:
'{flowfile_contents}'...) ->

    new flowfile (contents:  of 'ls -ltra'  ).

I feel like I could use flowfile-> extractText->  updateAttribute ->
executeStreamCommand  to accomplish the same thing, but often, the contents
happen to be the attributes.


View raw message