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

Manually starting a trigger en input date

I'm starting a Flow and wand to wait until the "given" date -7 days. The flow is working well but I don't understand one thing. When looking at the execution I see:

 

Schermafbeelding 2019-10-18 om 20.57.23.png

 

I use this date (TKD datum) to calculate a new date (the given date -7 days) and then transform it to different formats (one for using it in the delay until and one to transform it to MM/DD/YYY format). 
Schermafbeelding 2019-10-18 om 21.03.19.pngSchermafbeelding 2019-10-18 om 21.01.07.png

The date I entered was "2019-10-20", but what's the value in de 'Date' field (it is off course the day I started the flow)?  The "TransformerenDatum2" is using 'Date' but calculates the correct date (20-7 =13, you would expect 'Date'-7 => 18-7 =11)...

Or is the "triggerbody" pikking the 'Date' form "TransformerenDatum1?? What's happening????? 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Manually starting a trigger en input date

Hi @bgsca ,

 

The expression of Date dynamic content for the flow run date is as below:

triggerBody()['key-button-date']

1.png

The expression of TKD datum dynamic content for the enter date is as below:

triggerBody()['date']

2.png

 

Since you use the expression triggerBody()['date'] to -7 days, the result of the flow is correct.

 

Please let me know if your problem could be solved.

 

 

Best regards,

Alice       

 

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

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Manually starting a trigger en input date

Hi @bgsca ,

 

The expression of Date dynamic content for the flow run date is as below:

triggerBody()['key-button-date']

1.png

The expression of TKD datum dynamic content for the enter date is as below:

triggerBody()['date']

2.png

 

Since you use the expression triggerBody()['date'] to -7 days, the result of the flow is correct.

 

Please let me know if your problem could be solved.

 

 

Best regards,

Alice       

 

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

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 159 members 5,258 guests
Please welcome our newest community members: