Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Trying to attach all the files in a folder using flow. Trying to get the list based on the date by passing "Date" in the path but i am getting error.

My folders are automatically created based on the emails I get. Folder name is todays date like "2022-06-22". I am trying to attach all the files in this folder at end of the day to an email. Since folder name is just the date I thought to use "date" parameter in my folder path so it will pick the folder created today only. But i get error if try to give folder path dynamically. 




Error I get. In Path name I can see power automate is detecting the todays date and it matches my folder name but still i  get this error. But if I pass the folder path manually there is no error.



Regular Visitor

Ok I have found the solution. Get meta data then pass it to list all files. "List all files" is not the folder path hence the error.



Helpful resources

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (4,152)