cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Bhenry-Orion
Regular Visitor

Forms Response to Table and then Use the Start date and email data from the table to send scheduled email 7 days after start date

 
1 ACCEPTED SOLUTION

Accepted Solutions
jdoss
Resolver II
Resolver II

I think you need to format each day in the same way. Try setting both up in an initialize variable before comparing them and then you'll be able to see why they are not equal to each other.

View solution in original post

4 REPLIES 4
Bhenry-Orion
Regular Visitor

I am trying to build a flow that will run each day and grab the table and look for start dates that were 7 days ago and then send an email to the email address in the row with the matching date.  Seem to run into issues getting the date condition to work

 

jdoss
Resolver II
Resolver II

Screenshots would be helpful to see what you are doing. 

It seems that you would have to format the date to be identical in the comparison and subtract or add 7 to the days of one.

Formatdate(utcnow(), 'yyyy-dd-MM') is equal to Formatdate(subtractdays(DATEFROMTABLE, 7), 'yyyy-dd-MM').

The names of the functions might be off a little, but they're in there. 

The table just has ID/First/Last/Email address/Start Date

 

Trying to have it run each day, grab the list and look for start dates 7 days after today

 

Bhenry-Orion_0-1611290176661.png

 

jdoss
Resolver II
Resolver II

I think you need to format each day in the same way. Try setting both up in an initialize variable before comparing them and then you'll be able to see why they are not equal to each other.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (947)