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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Building a reminder wi...
Power Automate
Answered

Building a reminder with some difficulties (library, calculated columns)

(0) ShareShare
ReportReport
Posted on by 30

The following flow is supposed to check every day the library if there is any contract with an approaching due date. I used "Filter array" because I am not able to use ODATA with the calculated column that throws the contract date. 

I appear to be stuck since I can't find the issue, even though the flow appears to run fine.

Any ideas?

 
 
 
 
 

image.png

 

 

Categories:
  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hello @Kuchen 

     

    Is your question about the filter array not finding any records?

     

    Make sure the date formats are the exact same when comparing

  • Kuchen Profile Picture
    30 on at

    Yes, my problem is that no records are found even though atleast one with the matching date (tomorrow) exists.  
    I do have a different date format in SharePoint (dd.MM.yyy) but if I change it to "adddays(utcnow(),1,‘dd.MM.yyyy’)" it throws an error: "the expression is invalid.".

  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    @Kuchen 

     

    Try formatting the date coming from SharePoint to match the format of the adddays expression.

  • Kuchen Profile Picture
    30 on at

    Sadly that isn't an option since there are other resources that rely on this information in this specific format.

  • Kuchen Profile Picture
    30 on at

    To get the correct format I changed it to Concat(addDays(utcNow(),1,'dd.MM.yyyy')) , but it still doesn't send the e-mail.

  • Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hello @Kuchen 

     

    I am able to get the original expression to work.

    addDays(utcNow(),1,'dd.MM.yyyy')

     

    I believe I found the issue, You have 2 loops. The second loop that has the SharePoint value, needs to be removed.

    You should be referencing the values from the filter array inside the email. Not the SharePoint action.

  • Verified answer
    v-alzhan-msft Profile Picture
    Microsoft Employee on at

    Hi @Kuchen ,

     

    Please take a try with screenshot below:

    1.png

    The first value in the Condition(Modify the expression with your own column expression):

    formatDatetime(item()?['Modified'],'yyyy-MM-dd')

    The second value in the Condition:

    formatDateTime(addDays(utcNow(),1),'yyyy-MM-dd')

     

    Best Regards,

    Alice

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard