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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / advice on running para...
Power Automate
Unanswered

advice on running parallel branches

(0) ShareShare
ReportReport
Posted on by 340

Hi guys,

 

I have a flow that I needed to run a parallel branch for the flow to continue. The reason I did this was because the Parse JSON action was failing due to the schema. What I found was depending on the response of the HTTP action that changed the schema slightly. So i added the branch with 2 Parse actions with different schemas. I then came across another item where the schema was different so created a third branch.

 

da1ve_0-1679607391835.png

 

What im seeing now is that flows fail (even though one of the branches run) or in some cases 2 or all 3 run

 

da1ve_1-1679607467613.png

 

da1ve_2-1679607491604.png

 

da1ve_3-1679607559163.png

 

My question is, is there a better way to do this or something like a try branch 1 first and then go to branch 2 etc... ? Would adding the actions to a Scope be a better way of doing this?

 

Thanks,
David

Categories:
I have the same question (0)
  • wskinnermctc Profile Picture
    6,519 Moderator on at
    Re: advice on running parallel branches

    I don't really understand what you are trying to do.

     

    However, you can go to each of the steps "Configure Run After" and then set each one to "is successful" AND "has failed". So this is saying to run the step after the previous step is either successful or failed.

    wskinnermctc_0-1679609232971.png

    wskinnermctc_1-1679609326507.png

     

    That will keep your flow running.

     

    I probably wouldn't set it up like that since I wouldn't want things running after a failure, and not knowing why it failed. But depending on what you are doing like if it is a simple task and you are the only person using it then it could force it to work.

     

    Don't really know the answer for organizing a better flow, but this setting is a potential option.

  • Verified answer
    da1ve Profile Picture
    340 on at
    Re: advice on running parallel branches

    thanks @wskinnermctc  for your reply

     

    So I built this flow a while back when I was still starting out. After I wrote this post I thought perhaps I don't need the parse function (as all it was doing was getting a value for Quantity). 

     

    So I used an expression in a compose action direct from the HHTP body and getting the same result - so removed all parse actions and ultimately the parallel actions. Its much simpler now.

     

    Sometimes writing it out is all that's needed to come to the answer. Appreciate you replying though

     

    David

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard