web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / If Date Is Greater tha...
Power Automate
Answered

If Date Is Greater than Today's Date, Click The Associated Download Button

(0) ShareShare
ReportReport
Posted on by 9

HI everyone,

I need some help with Power Automate browser automation.

 

I have a date stored in the variable &CurrentDate&, and I want Power Automate to go to a page that has download request dates, and only click on the associated download link button if the date is greater than &CurrentDate&

 

I am having trouble coming up with the steps so that Power Automate looks at this table in the browser, identifies that date is greater than the variable, and then click the associated download link to the right.

To better understand it, here is the table view on the page:

powerautomate ex.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

For example, the variable has the date of 03/17/2024, 08:00 AM, which means I want Power Automate to only click on the three download buttons to the top, since the associated date is greater than the date I have in the variable.

 

Categories:
I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @JoshuaBa 

     

    Approach would be first to extract the table in form of datatable using extract data from webpage action in Power Automate 

    Nived_Nambiar_0-1710685199926.png

     

    Now after extracting table, use a loop and iterate through each record and check by subtracting two dates (record date and current date) and see if it is greater than zero, if yes > then use click action to click on download button corresponding to that record, (use selector for that approapriately) 

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @JoshuaBa 

     

    Approach would be first to extract the table in form of datatable using extract data from webpage action in Power Automate 

    Nived_Nambiar_0-1710685199926.png

     

    Now after extracting table, use a loop and iterate through each record and check by subtracting two dates (record date and current date) and see if it is greater than zero, if yes > then use click action to click on download button corresponding to that record, (use selector for that approapriately) 

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • JoshuaBa Profile Picture
    9 on at

    Hi Nived,

     

    Thanks for the guidance. Can you advise on how I can "see into" the variable? I have selected the "Extract data from web page" action and stored the table of data into variable "DataFromWebpage". I'd like to now go to the processing of going through the dates and then specifying to click download corresponding to that record, but I don't know where to go from here

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard