I have a channel responsible for processing CSVs from a folder on an SFTP host. The CSVs will have a header row, and I want each row transformed and sent to the DB/destination individually. All is working as it should by setting the record grouping to 1 row in each group. My question is how can I determine when the last row in the file has been processed? I'd like to make a web service call at that time. I've tried to keep track of the current row by incrementing a variable, but when trying to compare to source.getRowCount, the total row count seems to be 1 (due to the grouping). If I change the grouping back to blank/all, source.getRowCount returns a total number of rows, but the pipeline doesn't seem to iterate over all rows and just the first row is produced to the destination.