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

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -