Question
Send the last CSV file from a NiFi flow to a separate processor
Hello!
I have a flow that extracts 100 CSV files from a SFTP sever.
I need to identify the last CSV file in order to continue the flow after all the files are loaded in GCP bucket.
So, let me explain my scenario: I am extracting all 100 files from SFTP and load them in a GCP bucket. However, after the files are loaded, I want to redirect one file (preferably the last one) using the RouteOnAttribute in order to continue the flow for executing another processors.
Can someone help me please?

