Hello, I have a question, how can I do something like this?:
I am downloading a large number of PDF files and I would like to make it so that when it downloads 50 files, it logs out of the website and logs in again and continues its work from the moment of the last downloaded file.
Use a counter and check with if condition if the counter is in multiples of 50 …if yes then logout and login again…
As you have the counter already you know what is the current file number…so you can navigate accordingly if you need to navigate
Cheers
Hello @Szymon_Turcza - Welcome to UiPath Community Forum.
There are multiple ways to achieve it. Please find attach sample workflow that will get you started for the desired activity.
WF_Download_Files.xaml (10.1 KB)
Please let me know if it works for you.
Thanks.
Hi, I tried this method but I don’t know if I added these activities in the right place, for me it looks like this:
- logging in to the website
- enters the name from Excel into the search engine on the website
- finds the file and saves as PDF
- then downloads another name from Excel again and so on
Should I put the entire process, apart from opening the browser, into while ? and Which element to IF?
@Szymon_Turcza
Yes, while loop shall have the code for navigation and download of PDF files along with counter incrementation. If should have logout logic and counter re-initialisation.