cancel
Showing results for 
Search instead for 
Did you mean: 

Relative dates in actions

I should be able to use relative dates in recurring flows. For example, I want to create a new set of Wunderlist tasks every day or every week and the due date should be relative to today (maybe it is today or the end of the week, etc). Right now I can't do anything with the current date or date relative to it in an action.

Status: Completed

This work has been completed. You can read more about it here: https://flow.microsoft.com/blog/nested-apply-to-each/

Comments
Microsoft

I was able to do this by inserting expressions into some of my actions after finding the relative date functions in the expression language (https://aka.ms/logicexpressions). I did this by writing the expression into the action with the @ prefix but unfortunately this doesn't work directly as the UI escapes it to @@.

However, it was fairly straightforward to capture the HTTP PATCH in Fiddler and remove the extra @ so the expression would actually be evaluated.

 

That said, this all relies on a healthy amount of web development expertise and tools, not really the audience that Flow is trying to lend itself to 🙂

Power Automate
Status changed to: Planned
 
Power Automate
Status changed to: Started
 
Power Automate
Status changed to: Completed

This work has been completed. You can read more about it here: https://flow.microsoft.com/blog/nested-apply-to-each/