Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

flow-condition -compare if today date is equal with a date on sharepoint liste, if yes, send email

(0) ShareShare
ReportReport
Posted on by

Capture.PNG

 

When the date should be equal and send a email , it return me false

 

12.PNG122.PNG

  • EBookspan Profile Picture
    3 on at
    Re: flow-condition -compare if today date is equal with a date on sharepoint liste, if yes, send email

    HelloImNewHere: make sure your column is formatted as a date column. 

  • HelloImNewHere Profile Picture
    10 on at
    Re: flow-condition -compare if today date is equal with a date on sharepoint liste, if yes, send email

    I'm having the same issue. Things may have changed since this original post, perhaps someone can help me. 

    (Recurrence = 1 minute for testing purposes)

    HelloImNewHere_3-1694604398265.png

     

    I have a table with dates (format 13-09-2023), subject headings and messages. 

    I want my flow to find a date in a row in a table and if the date is today, I want a message to be sent to a channel. 

    Everything is running successfully but it seems that I'm struggling with my date format. I've tried this multiple different ways but I still have the same issue. This way seems to be the cleanest, it's my date that seems to be the biggest issue. 

     

    HelloImNewHere_0-1694603597174.png

    HelloImNewHere_4-1694605344104.png

     

    I don't think my condition is working as the date in the table is not = to today's date. It seems that even though my table date has the right format, it seems to be adding the input date 13-09-2023 as a number 45182 

     

    HelloImNewHere_2-1694603838714.png

    In the 'List rows present in a table' OUTPUTS, it includes "Send Date":"45182" - I'm not sure if this is the reason why I'm struggling? 

    I've tried a few different combinations of Apply to each, but none are working: 

    • Compose + Condition where outputs is equal to utcNow('dd-MM-yyyy')
    • Condition where Send Date is equal to utcNow('dd-MM-yyyy')

     

    {"statusCode":200,"headers":{"Cache-Control":"no-store, no-cache","Pragma":"no-cache","Transfer-Encoding":"chunked","Vary":"Accept-Encoding","Strict-Transport-Security":"max-age=31536000; includeSubDomains","x-ms-request-id":"xxx;xxxx;xxxxx","OData-Version":"4.0","X-Content-Type-Options":"nosniff","X-Frame-Options":"DENY","Timing-Allow-Origin":"*","x-ms-apihub-cached-response":"false","x-ms-apihub-obo":"false","Date":"Wed, 13 Sep 2023 11:08:45 GMT","Content-Type":"application/json; odata.metadata=minimal; odata.streaming=true","Expires":"-1"},"body":{"@odata.context":"https://excelonline-ne.azconn-ne-002.p.azurewebsites.net/$metadata#drives('xxx')/Files('xxx')/Tables('xxx')/items","value":[{"@odata.etag":"","ItemInternalId":"xxx","Send Date":"45182","Subject Heading":"Welcome to MST","Message":"Today is the first day. "}]}}

    @ScottShearer @v-bacao-msft @Anonymous @Dokushi 

  • Community Power Platform Member Profile Picture
    on at
    Re: flow-condition -compare if today date is equal with a date on sharepoint liste, if yes, send email

    It means what you think it would - that the column "MyDate" on their "CustomList" list is equal to today (their formatted date using utcNow()).

    You would likely have to get your date into a variable and use a Conditional action to compare against it, however, not filter from a list in a "Get items" block, like they are.

  • Dokushi Profile Picture
    11 on at
    Re: flow-condition -compare if today date is equal with a date on sharepoint liste, if yes, send email

    "MyDate eq" what does it denote, does it look at the date column of the table, because in my case i am using a onedrive business connector, and i want it to get rows where my date column is equal to todays date, but the odata filter doesnt show columns on the table

  • Community Power Platform Member Profile Picture
    on at
    Re: flow-condition -compare if today date is equal with a date on sharepoint liste, if yes, send email

    Thank you for the help

  • ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: flow-condition -compare if today date is equal with a date on sharepoint liste, if yes, send email

    @Anonymous 

    While I agree with @v-bacao-msft , you might want to change your Flow to use an OData filter rather than a condition.   This will make your Flow much less complicated.  The only rows that are returned are those that meet your criteria - no need for a condition.  More information on using OData filters can be found here. 

     

    See my example below:

    DateFilter.jpg

     

     

  • Verified answer
    v-bacao-msft Profile Picture
    on at
    Re: flow-condition -compare if today date is equal with a date on sharepoint liste, if yes, send email

    Hi @Anonymous ,

     

    Please try the following configuration:

    1.PNG

    You could check the value of Compose after Flow is executed.

     

    Best Regards,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow