Skip to main content

Notifications

Community site session details

Community site session details

Session Id : cnQ/KaMOuniwoyNJXkTN4e
Power Automate - Building Flows
Answered

Email to be sent when SharePoint list item hasn't been modified for 48 hours

Like (0) ShareShare
ReportReport
Posted on 20 Sep 2019 11:39:55 by

I have a SharePoint list where we have a choice field called "Assigned To". 

I need to send an automated alert if the "Assigned To" field is still blank 48 hours after the list item was created.

Ideally the 48 hours should cover business days only (Monday to Friday) but this is just a 'nice to have' feature if it is too complicated.

Any help would be appreciated!

  • Jharana Baliyar Singh Profile Picture
    25 on 11 Aug 2021 at 11:00:38
    Re: Email to be sent when SharePoint list item hasn't been modified for 48 hours

    Hi All,

     

    I am alsod oing same kind of req in dynamics crm 365 but not getting any idea where to do ?

    I have posted the below query if anyone have any idea let me know ?

    https://powerusers.microsoft.com/t5/Building-Flows/Send-reminder-email-to-case-record-owner-if-case-not-modified/m-p/1224754#M140798

  • Sebko Profile Picture
    4 on 31 May 2021 at 10:04:01
    Re: Email to be sent when SharePoint list item hasn't been modified for 48 hours

    I think I worked it out myself, just changed the Reoccurance Interval to 2 days..

  • Sebko Profile Picture
    4 on 31 May 2021 at 09:19:35
    Re: Email to be sent when SharePoint list item hasn't been modified for 48 hours

    Hi @v-litu-msft ,

     

    your guidance has helped me heaps already. Would you mind letting me know how what I would need to change in this flow to send another reminder after 48 hours (until this field has been filled in)?
    Thank you!

     

    Seb

  • v-litu-msft Profile Picture
    on 27 Sep 2019 at 08:52:49
    Re: Email to be sent when SharePoint list item hasn't been modified for 48 hours

    Hi @Sam12,

     

    Yes, you can create a column named "Reminder", that is what I want to advise if you just need to send once Remind email.

    This is the structure, the condition -96 Hours need to add the condition and update action, too.

    Annotation 2019-09-27 165109.png

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

  • Community Power Platform Member Profile Picture
    on 27 Sep 2019 at 08:44:40
    Re: Email to be sent when SharePoint list item hasn't been modified for 48 hours

    Hi @v-litu-msft.

    We only need this reminder email to be sent once (per list item) if Assigned To has been empty for 48 hours.

    I could create a hidden field in the SharePoint list called 'Reminder Email' and then I can use the Update Item action to update the new Reminder Email field to 'Sent' once the 48 hours has passed and the email has been sent. I could then add a condition at the start of the Flow to check to see if this Reminder Email field is blank. If it is then the Flow will continue to run, if not it will bypass the email step.

    Any thoughts?

    Thanks,

    Sam

  • v-litu-msft Profile Picture
    on 27 Sep 2019 at 08:37:39
    Re: Email to be sent when SharePoint list item hasn't been modified for 48 hours

    Hi @Sam12,

     

    Is this reminder only sent once enough? If the column AssignedTo is still empty (after 48 hours), will you continue to send a reminder message?

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

  • Community Power Platform Member Profile Picture
    on 27 Sep 2019 at 08:27:17
    Re: Email to be sent when SharePoint list item hasn't been modified for 48 hours

    Thanks @v-litu-msft - I have now set this up and tested. The email alert comes through after 48 hours as expected. However the alert continues to be sent every hour (when the Flow runs). We only need it to send one email. How would we amend the Flow to stop after the first email has been sent?

  • v-litu-msft Profile Picture
    on 25 Sep 2019 at 01:52:50
    Re: Email to be sent when SharePoint list item hasn't been modified for 48 hours

    Hi @Sam12,

     

    Sure, step 3 screenshot and the expression are the following, you should put in the Condition inside of the Apply to each action.

    dayOfWeek(item()?['Created'])Annotation 2019-09-25 094722.png

    Please notice that the logic sign is Or (marked by red line).

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

     

  • Community Power Platform Member Profile Picture
    on 24 Sep 2019 at 15:36:03
    Re: Email to be sent when SharePoint list item hasn't been modified for 48 hours

    Thank you very much @v-litu-msft. Please could you just clarify step number 3? I am getting an error message saying that the expression is invalid, and I am not sure where to input the function on your screenshot below?

     

    Capture.PNG

  • Verified answer
    v-litu-msft Profile Picture
    on 23 Sep 2019 at 05:20:59
    Re: Email to be sent when SharePoint list item hasn't been modified for 48 hours

    Hi @Sam12,

     

    You could create a Recurrence Flow follow these steps.

    1. Create a recurrence trigger runs every hour.

    2. Get the items on the list.

    3. Use dayOfWeek() function to get the number of Created Dates.

       -if the number is 4 (Thursday) or 5 (Friday), perform condition -96 hours;

       -if not, perform condition -48 hours;

    4. Perform the condition -96 hours, if the Assigned to is null (or you can use the length() function, length(item?['AssignedTo']) is equal to 0) and Created (date) is less than addHours(utcNow(), -96), send the notification email to creator.

    5. Condition -48 hours is the same as the previous step.

    Annotation 2019-09-23 130555.png

     

    Condition -96 hours:

    Annotation 2019-09-23 130638.png

     

    Condition -48 hours:Annotation 2019-09-23 130709.png

     

    Please have a try, I hope it can help you.

    Best Regards,
    Community Support Team _ Lin Tu
    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

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

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,011 Most Valuable Professional

Leaderboard