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
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 tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

Users online (1,939)