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 User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Top Kudoed Authors
Users online (74,174)