I have a incoming csv file which I need to route to different nifi flows based on the values in one of the column. Each csv has a column called "Country" which has same country name in all of its rows. What I want is
File 1 - 50 rows (All rows will only one value in country column which will be any of the below)
England, england, Britain, UK, United kingdom, USA, United States
So the file which contain values like England, england, Britain, UK, United kingdom in country column should be routed to one flow and if file contain USA or United States then it should be routed to another flow.
Note - One file will only contain one value in all rows. So routing based on first row value of country column for entire file is fine. How to achieve this?