Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Update File Properties of files inside a Library subfolder

(0) ShareShare
ReportReport
Posted on by 20

Hello, I'm very new to Power Automate.  

I have a library with subfolders.  The subfolders contain documents.  I'm trying to build a flow that will update the status column of the documents when the status of the "Folder" changes.  

I attempted to use the "List Folder" action to get the documents inside the folder and it does return the items inside the folder but I can't use the output of the List Folder to update the file properties.  It automatically puts it into an apply to each but when I run it I get an error that the result must be a valid array.  Any help is appreciated!!

DDevlin360_0-1655422208973.png

DDevlin360_1-1655422273242.png

 

 

  • beaubetts Profile Picture
    2 on at
    Re: Update File Properties of files inside a Library subfolder

    Scott,

     

    Is there a way to update this flow to look at all of files that may be located in a nested subfolder(s) of the folder identified in the List Folder action?

  • DDevlin360 Profile Picture
    20 on at
    Re: Update File Properties of files inside a Library subfolder

    @ScottShearer 

    This worked perfectly!! Thank you very much!!

  • ScottShearer Profile Picture
    25,212 Most Valuable Professional on at
    Re: Update File Properties of files inside a Library subfolder

    @DDevlin360 

    Yes - you can add a condition in the same way as shown in you Flow.

  • DDevlin360 Profile Picture
    20 on at
    Re: Update File Properties of files inside a Library subfolder

    @ScottShearer -In your example solution I don't see a condition for (folder status Completed) Will this work if List Folder is inside the Yes path of a condition?

     

  • Verified answer
    ScottShearer Profile Picture
    25,212 Most Valuable Professional on at
    Re: Update File Properties of files inside a Library subfolder

    @DDevlin360 

    See my example below and let me know if you have any questions

    image.png

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow