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

Reminder Flow 2 days before due Date.

Hello,

 

I want to build a Flow wich reminds my Co-Workers 2 days before the Due date. 

 

The way it works is that it first gets a Data from a Connector.
This Data will be created into a Excel File in my Sharepoint Document Library. 

 

In the Excel File there is a Row called 'Date', and i want that my Flow sends an Email 2 days before the Due Date .

 

This is what i did so far  

SchednNedn_0-1625476364058.png

 

SchednNedn_1-1625476447563.png

 

SchednNedn_2-1625477020952.png

Conditions : 

formatDateTime(item()['Datum'],'dd-MM-yyyy')
addDays(utcNow(),2,'dd-MM-yyyy')

 

This is my Excel Table : 

SchednNedn_3-1625477179240.png

 

Containing alot of Rows and Tables, with specific Users and all. 

 

I tried to run the Flow but it keeps on running on forever. 

 

any Idea what i can do to make the Reminder working propely. 

It should run everyday at morning to remind all my Co Workers. 

 

Thanks alot in advance ! 🙂

 

 

 

2 REPLIES 2
mobashee
Community Support
Community Support

Dear partner,

The reason could be you have not converted the string.

when flow is reading the date from excel cell, it takeas a value as string like 

44381 which is 16-06-2021
 
To solve this i will initialize 3 variables like below
mobashee_0-1625510926667.png

 

mobashee_1-1625511018649.png

 

addDays('1899-12-31',int(variables('Strng2Int')),'yyyy-MM-dd')
 

 

Did I answer your question? Please consider to mark my post as a solution to help others.

 

Regards,

Mohamed Sanuj Basheer

Hi @mobashee 

 

Thanks alot for the Reply. 

 

I tried your solution as follows my flow is looking like this right now : 

 

So first off in my Flow in need to Filter the Date Row because it contains Fields wich have Dates in it and Fields wich are empty. 

and I cant really Filter them in my Excel because the Excel will be created everyday from the Connector

 

So the first step i did Initialize the Variables as you said so. 
Then i List the Rows and Filter the Excel Row wich contains the Dates

 

FLOW1.png

 

FLOW2.png

 

FLOW3.pngFLOW4.png

 

But always getting this Error : 

 

2021-07-06 09_28_16-CPU Lohn Update.  - OneNote.png

 

 

So my Flow is lookin pretty Wild and im sure that i messed up something with the Flow, trying to do the reminder thing 2 days before the due date. 

Sorry im really a flow beginner in this regard .

 

Thanks alot for taking your time and reading my mess 

 

Bg

 

Scherwin

 

 

 

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (4,173)