I forgot to mention that I put Correlation Attribute Name as attribute name
which holds directory name from which that 8 files coming from.
And there is not always 8 files, this is just for example. The number of
files changes always as the files come in the folders.

On Fri, 31 May 2019 at 14:24, Tomislav Novosel <[email protected]> wrote:

> Hi all,
>
> I need to create one flowfile from multiple flowfiles which are of files
> in one directory. So if I have e.g. 8 files in directory, I want to merge
> them and the output I want is 1 flowfile for further processing ( I want to
> extract folder name and path of that 8 files).
>
> I tried with MergeContent processor and this is my setup.
>
> [image: image.png]
>
> But every time i run the flow I get multiple flowfiles in the output
> queue. Sometimes 2, sometimes 3 or even 4. What am I doing wrong?
> Or is there some other way to do this in Nifi?
>
> Thanks in advance,
> BR.
> Tom
>

Reply via email to