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 / Loop through sub-folde...
Power Automate
Unanswered

Loop through sub-folders to extract folder name

(0) ShareShare
ReportReport
Posted on by 2

Hi all,

 

I have a Sharepoint site with the following format:

-CV

--00 - Partnerfirm

----Partnerfirm1

------Person1

----------file1

------Person2

----Partnefirm 2

----------file3

------Person3

--Folder 1

I need to get the folder names 'Person<...>' from 00 - Partnerfirm >> Partnerfirm1, create an html table, create a csv file and send the email.

 

If I use the below workflow, 'Apply which' loops only through the very first 00 - Partnerfirm >> 'Partnerfirm1', so that I get the list with 'Person1' and 'Person2' but then, it stops and doesn't proceed to Partnerfirm >> 'Partnerfirm2' to get 'Person3' and 'Person4'. 

 

What am I doing wrong? 

Categories:
  • eponkratova1 Profile Picture
    2 on at

    eponkratova1_0-1660582082913.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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard