Skip to main content

Notifications

Community site session details

Community site session details

Session Id : HTES793Jri3MfnrpxfFTVe
Power Automate - Building Flows
Answered

How to create a daily flow, and to process only if system date is equal to a date in an array

Like (0) ShareShare
ReportReport
Posted on 13 Jan 2023 04:10:01 by 48

Hello.  I am totally new to Power Automate.  I was able to create a flow to run each day and email a file.  I want to modify it such that it runs each day but does a compare to see if the run date is equal to any of the dates within an array value inside a compose function.  I would hard code the dates into the array value.   If the run date is in the array, then continue processing, else stop processing.  This would repeat each day.  I am not sure on how to set up the array of dates and in what format, and how to do the compare of the run date to see if it's equal to any of the dates in the array.  Are there any examples on how to do this?  Thanks for any help.

  • Verified answer
    lxd Profile Picture
    48 on 13 Jan 2023 at 21:54:43
    Re: How to create a daily flow, and to process only if system date is equal to a date in an array

    @wearsky ,Thanks for the help.  It works!.  I would like to get it to work such that it can read the dates from an Excel file placed on Sharepoint or shared network.  I assume this can be done.  Don't know if I have to read the dates from Excel into an array first and then process, or if I just read the Excel file one row at a time.  If there are any examples, that would be great.  Thanks!

  • Verified answer
    v-xiaochen-msft Profile Picture
    on 13 Jan 2023 at 05:44:00
    Re: How to create a daily flow, and to process only if system date is equal to a date in an array

    Hi @lxd ,

     

    Please try:

    vxiaochenmsft_0-1673588629320.png

     

    Best Regards,

    Wearsky

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

#1
stampcoin Profile Picture

stampcoin 43

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 23 Super User 2025 Season 1

#3
Chriddle Profile Picture

Chriddle 21 Super User 2025 Season 1

Overall leaderboard
Loading started