You could use a RouteOnAttribute[1] processor to look for FlowFiles with an
executesql.row.count attribute with a value of 0, then remove them from the
flow.

[1]
https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.13.2/org.apache.nifi.processors.standard.RouteOnAttribute/index.html


---
*Chris Sampson*
IT Consultant
[email protected]
<https://www.naimuri.com/>


On Fri, 23 Apr 2021 at 22:16, KhajaAsmath Mohammed <[email protected]>
wrote:

> Hi,
>
> I have a requirement where I need to ignore the flow files that have zero
> records from executesql processor.
>
> Process only the files which have results from executesql.  any
> suggestions please?
>
> Thanks,
> Khaja
>

Reply via email to