Check when finished reading the whole file

I read a csv file and send a message for each line in the file.
Now I would like to save in an file in append mode the last file read with the number of lines read.
So I need a trigger to know when it has finished reading the whole file and transmitted all the messages and then writing to the file.
How can I do?
Thank you

If you are using the read file node - set to output one line at a time - then if you look at complete msg in debug you will see a msg.part property... Only the last one sent will have a property - which will indeed hold the number of lines in the file.

Thanks dceejay.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.