cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Microsoft Employee

Dynamic expressions in action fields

I've figured out how to do dynamic expressions in an action's field, but the way I'm doing it is not optimal. Example: I have a Flow that runs once a day and copies some data to Azure Blob. I want the blob to have a dynamic filename based on the date.

 

expression.PNG

 

However... my blob name ends up with quotes in the name (e.g. "2017-02-01" instead of just 2017-02-01). If I do not put the quotes around the expression, it will not evaluate and my blob name will end up as @{utcnow('yyyy-MM-dd')}.

 

Can someone help me out here?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Dynamic expressions in action fields

Hi @toddkitta,

 

Please take a try with compose action:

67.PNG

 

68.PNG

Then specify the Compose output value in the Blob name.

69.PNG

 

See if this would meet your requirements.

Regards

 

 

 

Community Support Team _ Michael Shao
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

2 REPLIES 2
Community Support Team
Community Support Team

Re: Dynamic expressions in action fields

Hi @toddkitta,

 

Please take a try with compose action:

67.PNG

 

68.PNG

Then specify the Compose output value in the Blob name.

69.PNG

 

See if this would meet your requirements.

Regards

 

 

 

Community Support Team _ Michael Shao
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

Microsoft Employee

Re: Dynamic expressions in action fields

Works perfectly - 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,216)