cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ckemp
Level: Powered On

delay until - based on existing field + x

Hi folks,

 

I think the answer to this is 'not at the moment' but is there any way to pause or delay the next steup until a dynamic period of time is reached?

 

example. 

 - SP form submitted for attending professional development - all approvals have taken place etc etc. 

          - this form contains a start and end date field where the prof dev will take place.

I want the flow to calculate a delay based on the END DATE + (7 days) then send an email to the attendee to submit their reflection.

 

Possible?

 

Thanks in advance.

Corey

 

2 REPLIES 2
Community Support Team
Community Support Team

Re: delay until - based on existing field + x

Hi @ckemp,

 

This actually can be done using the "addhours" Date function in Workflow Definition Language. For your information:

https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ckemp
Level: Powered On

Re: delay until - based on existing field + x

Hi @v-monli-msft

Thank you for your reponse.

 

Could I run this syntax by you? Im not familiar with logicapps...

 

@{addminutes((END DATE DYNAMIC FIELD),1)}

 

Manage your flows _ Microsoft Flow.png

 

When running it as it is, error returns:  

Unable to process template language expressions in action 'Delay_until' inputs at line '1' and column '2083': 'String was not recognized as a valid DateTime.'.

 

The date format which is returned in the output of "DATE TO" is:   2017-06-14T23:42:00Z 

 

Thank you

 

Corey

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (5,072)