cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
almendoza26
Helper I
Helper I

PowerAutomate Working with Dates

I could't find that is closely related to my issue.

Anyway, I have a date column in a Document library named "Valid date". I wanted to send an email to the owner of the document 6 weeks, 2 weeks and 1 day before the valid date.

 

Here's my condition in Flow:

 
 
8 REPLIES 8
v-bacao-msft
Community Support
Community Support

 

Hi @almendoza26 ,

 

It seems that the screenshot is missing, please try uploading again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-bacao-msft
Community Support
Community Support

 

Hi @almendoza26 ,

 

You could try the following expression:

179.PNG

 

Best Regards,

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

Hi Barry,

 

I don't know if I explained it clearly.

 

I want to check if the valid date is 36 days to 42 days away from today. This is for 6 weeks and here's my expression for 6 weeks:

 

image.png

 

 

Hi @almendoza26 ,

 

Please try the following configuration:

10.PNG

 

Best Regards,

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

@v-bacao-msft 

 

I tried what you suggested, however the flow failed with this error:

 

image.png

 

Hi @almendoza26 ,

 

Could you share the expression you are using and the screenshot of the configuration?

 

Best Regards,

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

@v-bacao-msft 

 

Here's the expression:

image.png

 

Hi @almendoza26 ,

 

I'm afraid I can't see any errors. Anyway, I observed that the format of the date output by Valid Until is yyyy-MM-dd. You can directly configure the Dynamic Content of Valid Until or the output of Compose in the parameter on the left of Condition.

 

Best Regards,

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

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.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (1,702)