Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Nifi List File from multiple paths and route them to their respective destinations

avatar
Contributor

I have 3 files at different locations for which I am using 3 list file processors and then the fetch file processor. Now I want to route these files to their respective destinations which is different for all 3 files. need some help on how to do this.

Thanks

1 REPLY 1

avatar
Expert Contributor

You can use RounteOnAttribute if you have some way to identifying which files goes to which destination like in filename, path etc. Check attributes of the flow file to see if any can be used.

Then use those attributes to create 3 paths, something like:

https://community.hortonworks.com/questions/54811/redirecting-flow-based-on-certain-condition-nifi.h...