cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Serendipity102
New Member

Error in Creating Email notification 7 days before Due Date - using power automate

I am creating with the following Objective: Send email to "assigned to email"  for all issues wit h "Active" status that are due within 7 days.

 

However i am having fialed Flow - which i dont know where it was coming from. I already tried a lot of check but it seems like i cannot see where the error comes from

 

 1. Recurrence 

Serendipity102_0-1627294168269.png

 

2. variable for the 7 days 

Serendipity102_1-1627294221245.png

 

3.  for the varReminderDate 

Expression: addDays(utcNow(), variables('varNumDays'), 'M/d/yyyy')

The date format is the same as the format in my SharePoint List "Due Date" Column (see screenshot of the column below )

Serendipity102_2-1627294241986.png

 

SharePoint list column: 

Serendipity102_5-1627294596986.png

 

Internal Name for the Due Date Column: 

Due%5Fx0020%5FDate

Serendipity102_3-1627294395022.png

 

4. Get Items - Filter Query:  Due%5Fx0020%5FDate eq '@{variables('varReminderDate')}' and Status ne 'Close'

Serendipity102_4-1627294496190.png

 

5. Error encountered: Flow run failed 

Serendipity102_6-1627294803433.png

 

 

Does anyone know why am i encountering the error? 

 

Thanks! 

 

 

1 REPLY 1
CheckMate
Resolver I
Resolver I

that's a tough one.

why not try creating a new column with calculated value to add the column created_date+7 = due date.

and then create a condition if Status = Active && due date is > utcnow()

     send an email

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution.
If you have found my response helpful, please give it a thumbs up.

 

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,492)