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

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
Community Support

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
Community Support

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

Works perfectly - thank you!

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (7,668)