Skip to main content

Hi firends,

 

Please, I need help. I'm trying to get the names of files from a folder, but I only need to get the 3 most recent, how could I do that? I'm so newbie in bot develpment 😅

Hi @Erika Jaramillo​ ,

 

Here the code,

 

image 

In this code, please include the copy file action and update value in Red highlighted box "1" or copy the file to another location.

 

Please include the counter to count the file while looping, when counter=3 stop the loop.

image


Thank you! Maybe you could expand the configuration of loop and string assign?


@Erika Jaramillo​ 

Please watch this youtube video you will get clear idea.

 

https://www.youtube.com/watch?v=hExIuvC0e9U/p>

 

-------------------

FYI

 

Please find below configuration of loop :- FilesInFolder is a Dic variable

 

image 

The String assign configuration - In Dic key when you add "name" key you get all the file name.

image


Reply