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 III
Resolver III

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 III
Resolver III

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 III
Resolver III

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.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,939)