Hi,
You can use tFileList --(Iterate)--> tIterateToFlow --(Main)-->tLogRow.
In tIterateToFlow Mapping, set the value ((Integer)globalMap.get("tFileList_1_NB_FILE")).
Best regards, May T.
Sorry my request was incomplete. I don't want to count all the files into a folder but count all the files containing a unique reference.
For example these 9 files:
I was thinking to build a job like that:
But that can't work because of the Iterate .
The value of ((Integer)globalMap.get("tFilterRow_7_NB_LINE_OK")) is 1 and not 9
Or I was thinking to copy all the files after the tFilterRow in a specific folder, reuse another tFileList and use the variable: tFileList_x_NB_FILE. But this require a lot of components and maybe there is a simpliest way to achieve this count ?