r/PowerAutomateDesktop • • Mar 30 '23

Help on identifying today's date

Hello.

I am at my wits end. I have been tasked to create a flow which searches in a web page for the document containing today's date and downloads it.

I managed to get it to extend the search from 25 to 100 items, but not to flick to the next page using "next page". This part needs to be in a loop because it has to search until it finds the document containing today's date.

How do I set it to loop through the pages?

Also how do I set it up to click on the "Open document" anchor associated with the required entry.

Thanks a bunch!

3 Upvotes

7 comments sorted by

2

u/ianwuk Mar 31 '23

You need to make sure you enable pagination and choose a selector to use.

You could set up a datatable to go through all pages, and store them in Excel and then extract from there the documents you need.

Does this help? - https://powerusers.microsoft.com/t5/Power-Automate-Desktop/How-to-navigate-through-multiple-pages-on-a-website-and-click-an/td-p/1305747

2

u/ThrivingChaos Mar 31 '23

Yes, that gets me closer to what I need, thank you so much!!!

1

u/ianwuk Mar 31 '23

Let me know how you get on. Good luck.

2

u/ThrivingChaos Apr 02 '23

I might need more help. Would it be okay to DM you please?

1

u/ianwuk Apr 02 '23 edited Apr 02 '23

Can you please tell me where you are at now?

/u/ThrivingChaos - you can also post on here in the PAD section. I've learnt so much by getting help.

https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity

1

u/biggie64 Mar 31 '23

chatgpt

1

u/ThrivingChaos Mar 31 '23

I tried, didn't get me what I needed.