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

Updating Metadata

HI

 

I have got my flow to update the metadata with the date of approval but is there a way of adding a formula to change this to +365 days?

 

Thanks

Charlotte

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Updating Metadata

Hi @Charl1 

You can start typing the expression and then after the opening bracket, switch to the Dynamic values tab and select your response date (then complete the rest of the expression) as shown below.

2019-10-03_14-13-16.gif

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

4 REPLIES 4
Super User
Super User

Re: Updating Metadata

Hi @Charl1 

You should be able make use of the addDays function within a expression. Use the expression to set your data instead of the value you are using currently.

addDays(The Date Value You Are Using Currently, 365)

 

Details on this function along with more examples can be found here.

https://docs.microsoft.com/en-gb/azure/logic-apps/workflow-definition-language-functions-reference#a...

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


Charl1
Level: Powered On

Re: Updating Metadata

Thanks @LeeHarris , if the date I want to use is Dynamic (as in it is the reponse date of the approval request) how do I drag that into the expression?

 

Thank you so much for your response!

Charlotte

Highlighted
Super User
Super User

Re: Updating Metadata

Hi @Charl1 

You can start typing the expression and then after the opening bracket, switch to the Dynamic values tab and select your response date (then complete the rest of the expression) as shown below.

2019-10-03_14-13-16.gif

 


Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


View solution in original post

Charl1
Level: Powered On

Re: Updating Metadata

Yes!! So pleased it has worked, thank you 🙂

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 (Last 30 Days)
Users online (5,824)