Hello all.

I'm new to Nifi so please forgive me if this is an easily answered question.

I have an ETL job which has to process directories full of image files. I
have figured out how to use ListFile to find directories as they are added,
but I need to sanity-check each file in a directory by checking its
attributes and if and only if each file passes this test, I need to apply
some per-directory image tags to each file.

How do I know when I have processed every file in a directory? As part of
processing I can create a new FlowFile for each file in a directory, but
how can I annotate the 'parent' flowfile that for example only 11 of 12
'children' passed so it can be routed as failed?

Reply via email to