AnsweredAssumed Answered

How can I count all rows in all the files processed when I'm using "Flow Control Shape" component?

Question asked by rxo62069481 on Feb 5, 2018
Latest reply on Feb 5, 2018 by mmorthala189353

Hi,

My process reads multiple CSV files, I need to process synchronously my files because the requirements of my notifications, but at the same time I need to count the total of rows in all files (rows in file1 + rows in file2 + ... + rows in fileN) I'm trying to do this with the components you can see in the image, basically I'm using a piece of Groovy code to count the total rows processed, but I'm only counting rows in the last one (because I'm using "Flow Control Shape" component). How can I count the rows of all files?

Thanks in advance.

Attachments

Outcomes