Using flowfile size as an argument in RouteOnAttribute nifi -
i want know if possible use flowfile size argument in routeonattribute want make expression :
${filename.filesize>500}
but tells me expression ought return true , expression returns string should able make new connection in routeonattribute(p.s filename flowfile name)
two ways check empty response present in flowfile.
1.using content-length attribute-->${content-length}
2.using extract text processor extracts entire content in attribute.
flow_content--(.*)
then check ${flow_content:isempty():not()}
it may helpful case.
wiki
Comments
Post a Comment