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
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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,412)