Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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


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.



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:

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.