cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mdziados
Frequent Visitor

past due reminder

Has anyone had any success in building a flow for sending reminders for past due sharepoint list items.  I have a custom list used for tracking issues.  The list has a status selection of not started, in progress, and complete.  I am trying to check if it does not say complete and is past the due date listed, that it will email the person assigned.  I have tried this and it either won't run or it constantly returns a true value for all items in the list and then when it checks the date it won't send the email.

 

I am using the advanced editor to enter in the following :

 

@less(item()?['Due_x0020_Date'], formatDateTime(utcnow(), 'MM-dd-yyyy'))

 

flow.JPG

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @mdziados,

 

Take a try to change the formula as below:

@less(formatDateTime(item()?['Due_x0020_Date'],'yyyyMMdd'), utcnow('yyyyMMdd'))

See if this would make it work.

Regards,

Michael

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

View solution in original post

3 REPLIES 3
mdziados
Frequent Visitor

Just to add to this information I have given...here is the photo of the run.  It is showing the expression result for all 24 list items as being true, meaning none of the items contain complete.  Nearly half of them say complete.  The value used for complete is exactly the same as the item from the choices for the item field.  It still says that none of the items have complete as the choice apparenlty.

 

flow1.JPG

Hi @mdziados,

 

Take a try to change the formula as below:

@less(formatDateTime(item()?['Due_x0020_Date'],'yyyyMMdd'), utcnow('yyyyMMdd'))

See if this would make it work.

Regards,

Michael

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

i am trying so hard to use your solution, but I am having a hard time getting my conditions to look like your screenshot, here's mine. I am not able to enter just the expression, it asks for it all againcondition not the same.JPG

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (5,110)