Why putsql processor do not execute update query for each flowfiles?
Hi All,
I am tyring to execute update query through putSQL processor. I want to update number of processed file count column of one of the transactional table in mysql.
The issue is that whenever multiple flowfiles coming as input to putSQL processor at a time,the processed file count is getting incremented and updated only once. Ideally,the behaviour should be like increment the counter one by one for each flowfile and then update the processed file count column in MySQL table.
NiFi flow:
Fetch processed file count using select query->updateattribute : processed file count+1->putSQL:update query.
Thanks in advance
Please share you response on it.

