Support Questions

Find answers, ask questions, and share your expertise
Announcements
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

Explorer

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

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...

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