How can I make sure to process a file in the accending order of the file name?

Hello

In a google drive i have a number of photo that I name Google Vision to process in the accending order ot the file name. Google Drive Watch file module processes the file based on the it creation time or modification time.
How Can I make sure that the files will be processed in the order of the file’s name like 0.jpg then 1.jpg etc

1 Like

Hey @Stanislas_Berteloot

You need to follow thehese steps:

  1. Put an aggregator
  2. put an iterator and use sort() function inside iterator. Define the order as asc.

Now map the values in your next module from iterator.

Regards,
Msquare Automation - Platinum Partner of Make
@Msquare_Automation

1 Like