Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 5GPA7mJ/OQJWSk9UqgyZ8Z
Power Automate - Building Flows
Unanswered

Sharepoint list to send email based on date to accountable people

Like (0) ShareShare
ReportReport
Posted on 4 Mar 2024 11:32:40 by

Hello, 

 

I have a SharePoint list with various tasks with dates assigned to them as well as various people that are responsible for ensuring the tasks are complete. I want to filter the SharePoint list based on whether they are completed or not and send an email to the responsible people 1 day in advance of the listed date being reached. 

 

I need to put a condition in but not quite sure what the condition would be and any help where else I may have gone wrong with the flow. 

 

PowerAutoNewb_0-1709551852988.png

 

  • PowerAutoNewb Profile Picture
    on 08 Mar 2024 at 11:57:04
    Re: Sharepoint list to send email based on date to accountable people

    If I wanted to increase the 2nd condition to 14 days, 7 days, 3 days etc. Does the 3rd condition also increase to 15 days, 8 days, 4 days etc. or would that stay the same 

  • v-bofeng-msft Profile Picture
    on 05 Mar 2024 at 09:41:29
    Re: Sharepoint list to send email based on date to accountable people

    Hi @PowerAutoNewb ,

     

    Yes.

     

    Best Regards,

    Bof

  • PowerAutoNewb Profile Picture
    on 05 Mar 2024 at 09:34:49
    Re: Sharepoint list to send email based on date to accountable people

    Do that instead of the condition based and use a filter array?

  • v-bofeng-msft Profile Picture
    on 05 Mar 2024 at 01:25:12
    Re: Sharepoint list to send email based on date to accountable people

    Hi @PowerAutoNewb ,

     

    You could set the flow to trigger daily, filtering the list based on the following three conditions:

    1. Filter by completion date;

    2. List dates greater than or equal to 00:00 tomorrow; (addDays(startOfDay(utcNow()),1))

    3. List dates less than 00:00 the day after tomorrow;   (addDays(startOfDay(utcNow()),2))

    Then, iterate through the filtered results and send emails.

     

    Best Regards,

    Bof

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!

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,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard
Loading started