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 condition in PAD ...
Power Automate
Unanswered

Loop condition in PAD subflow

(0) ShareShare
ReportReport
Posted on by 8

Hey there,

 

I'm building a catalogue in Excel for attachments.

To stop the loop of one folder i used the loop condition firstfreerow <= folderA.count

which works well for the first subflow.

 

For the second and the third subflow i used folder condition firstfreerow <= folderB.count ; firstfreerow <= folderC.count

But the loop doesnt process the folder and pretends like the condition is already fulfilled.

 

Hope someone can help me - I'm pretty new to PAD, so excuse me if my process was not the most clever one.

 

Best regards Alex 🙂

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Can you share the loop part of the flow please?

  • Alexxx Profile Picture
    8 on at

    Hey Michael,

     

    sure. First one is the Main, second one is a subflow that works well and third is having the problem that i described. If there is any translation needed let me know 🙂

     

    Screenshot 2022-09-30 081110.png

    Screenshot 2.PNG

    Screenshot 3.PNG

     

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Try resetting FirstFreeRow to 0 after Loop 2 and before Loop 3. Or separate them by using different variables:

     

    %FirstFreeRow_Loop2%
    %FirstFreeRow_Loop3%

    Best of luck!

  • Alexxx Profile Picture
    8 on at

    Thanks Michael, working smooth now 🙂

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 195 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 167

Last 30 days Overall leaderboard