Nick, The current approach is to use ExtractText to extract the entire flow file content to an attribute which can then be referenced in expression language.
Keep in mind this means the entire content will be read into memory which in some cases may not be a good idea. I would think that PutSlack should have a strategy to decide where the message should come from (attribute vs content), but I am not familiar with that processor to really say if it is a good idea. -Bryan On Mon, Jan 16, 2017 at 1:40 PM, Nick Carenza < [email protected]> wrote: > Is there any way to access flowfile content with expression language? > > I am trying to use monitor activity with putslack but monitor activity > creates flowfiles with confiugrable content but putslack requires you to > supply a message property using expression language which as far as i can > tell doesn't have access to that flowfile content. > > Without having to put another processor in between monitor activity and > put slack, is there a way to use the flowfile content directly from > expression language? > > If not does anyone else think this would be really useful to make > processors like these more compatible? >
