cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
grhaberer
Frequent Visitor

Using Dynamic Content as part of File Identifier

Trying to use an input in a manual trigger to build out the end of a file path for copying files.  Here is the flow configured:

 

Capture.PNG

 

And here is the error:

Capture1.PNG

 

As you can see, the input parameter, IT-001, is showing up correctly as part of the filepath string.  But for some reason, it is erroring out.

 

It is worth noting that when i replace the input paramter in the filepath with the explicit filename IT-001, it works.

 

Is there something I need to do with dynamic content as part of a filepath in order for it to be interpreted correctly?

1 ACCEPTED SOLUTION

Accepted Solutions
RezaDorrani
Dual Super User II
Dual Super User II

Hi @grhaberer 

 

List folder action does not calculate dynamic values

 

Right before list folder action, add get folder metadata using path action (this accepts dynamic values)

 

Then call the list folder action and set the File Identifier property to FileLocator dynamic content from get folder metadata using path action

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

View solution in original post

1 REPLY 1
RezaDorrani
Dual Super User II
Dual Super User II

Hi @grhaberer 

 

List folder action does not calculate dynamic values

 

Right before list folder action, add get folder metadata using path action (this accepts dynamic values)

 

Then call the list folder action and set the File Identifier property to FileLocator dynamic content from get folder metadata using path action

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,406)