web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / List folder dynamic va...
Power Automate
Answered

List folder dynamic value problem

(0) ShareShare
ReportReport
Posted on by 24

I am going to list the files in folder and filtering based on some conditions. 

When I manually select folder path as static in list the folders in onedrive actions, it worked well. But I am only give root and another one folder as static, eg /name/ will be given. But actual path needed is /name/folder. Here /folder will be taken from input string and given in string format. When give like this, function throwing error like item not found. 

Categories:
I have the same question (0)
  • Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @Michkel 

     

    Could you pls share the screenshot(s) of flow in edit mode?

     

    Thanks

  • Michkel Profile Picture
    24 on at

    Left image shows dynamic folder checking which giving me item not found error. Right shows default selection of folder which works fine

    IMG_20240117_143330.jpg
  • Michkel Profile Picture
    24 on at

    IMG-20240117-WA0013.jpg

  • Verified answer
    Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @Michkel 

     

    You need identifier of the folder in "List files in folder" action. To get the identifier, add "Get file metadata using path" action, pass the dynamic path of the folder. The Id obtained by this action needs to be passed as identifier to "List files in folder" action.

     

    Here is an example:

    ManishSolanki_0-1705483271623.png

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard