Send the next File and not the same each time that robot execute

Well hi guys, i need help in one thing
i will explain what i want do.

  • I want do a automatation that go to the program and search for a folder and send a file.
    Well but i want the robot each hour that he start, he choose the next file to send, and dont send always the same.
    For example: in the folder i have 50 files and each hour he send a different file(or ordenated the folder for date and he send the next file, like a loop…)
    My english is bad, sorry :frowning:
    Someone could help me?
    Thanks.

@ivopath

Base on your example you can do something like this:

  1. Use For each activity and get all the files inside the folder.
  2. Send the file.
  3. Use Delay activity and set the value for one hour.

1 Like

@albert.yango
Haaaaa thats a good ideia :smiley:
I dont need to put the bot start each hour, its just a delay.
but each hour he will send a different file?
For example in the folder i have 10 files, the first time he will send the first file, the second time he will send the second file? something like this?

@ivopath

After sending one file, will you need that file in future or no need of it.

If its not needed then use Move File activity to move file.

1 Like

And how i do this, but not with a delay… because i will use other Robots in the same application and i need define a time for each one.
Maybe i can send the first file in the folder and then remove him, when robot start again he will send the first that appear in the folder, its an ideia no?
Give me your solution for this.
Thanks a lot.

@ivopath yes, the next file will be sent after the first and so on

1 Like

thanks guys :slight_smile: