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 / running multiple subfl...
Power Automate
Unanswered

running multiple subflows browser

(0) ShareShare
ReportReport
Posted on by 9

I have a subflow that opens a browser link, performs a task, and then closes the browser. After that, another subflow opens a browser link and then closes it. However, Power Automate Desktop stops at the second subflow.

Screenshot 2024-01-09 001258.png
Screenshot 2024-01-09 001114.png
I have the same question (0)
  • Gidi Profile Picture
    601 on at

    Hi ColinLab,

    what error handling do you have for the Click link on web page action?

     

    Why do you need to open new browser sessions for each link? You can also use Go to web page action and keep the browser session open until end of the main flow. 

  • DeepaliJagtap Profile Picture
    68 on at

    Hi,

    Can you please elaborate what error you're getting during/after 2nd subflow?

  • ColinLab Profile Picture
    9 on at

    I need to wait for another 5 minutes for it to show up, then being gone quickly not able to click error details

    I'll update when I able to get the error details

    Screenshot 2024-01-11 020432.png
  • Gidi Profile Picture
    601 on at

    Looks that Close browser and Launch browser are timely too close beside each other or a delay in loading the browser extension has happened. 

     

    Copied an idea from Agnius that might help you here too:

    “Try using Run application instead to launch the browser. Set "edge.exe" as the app to run and put your URL to the parameters field. Then use Wait for window to wait for the page to load, as the title of the page will be in the window title. So, you can wait for a specific window by using its title and class. When it loads, you can use Launch new Microsoft Edge to attach to the browser.

    This is a thing I generally always use to launch browsers, because Chrome has been totally inconsistent with whether or not it loads the extension in time for PAD to think it launched properly. This approach has never failed me over the years that I've been using it.“

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Can you share a screenshot of what the second subflow (the one that stops) looks like? Perhaps you are missing a Launch new Microsoft Edge action there. Or, you may have used it to create a new browser variable, but the action that fails may actually be using the one from the previous subflow that has already been closed.

     

    So, pay close attention to whether you always launch the browser, as well as whether you use the correct browser instance variables in your actions.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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