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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Getting Flow to Show S...
Power Automate
Unanswered

Getting Flow to Show Success After Branching

(0) ShareShare
ReportReport
Posted on by 109

I have a flow that I attempt to get a record and when a value is returned I take on the action using the "On Success" and I have a parallel action that I take "on failure" within a do loop.

How can I get the loop to identify the success of either path is a success in the loop?

 

MarcRohde_0-1666816984012.png

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @MarcRohde 

     

    Not exactly sure what you meant by success of either path is a success in the loop? Could you please explain?

     

    Thanks

  • MarcRohde Profile Picture
    109 on at

    When you look at the image the steps are in a "do until" loop because I'm running the verification for multiple records.

    The steps are to check if a record exists, if it doesn't follow one path and if it does I follow another using the "on success" and "on fail" options. If the record doesn't exist it will always show the loop failed and as a result, the job shows it failed even though it completed every update I wanted.

  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @MarcRohde 

     

     

    Thanks for your quick reply. Excellent question this.

     

    Do the following:

     

    Inside the Apply to Each loop Add a Scope. This is for the success path.

    Then place Get CS to EA Unit of Measure Conversion action step.

    Next place the Update Product Specific Order Settings when UOM Identified to Factor.


    Again inside the same loop add another scope. This is for the failure path.

    Inside the scope add the action step Update Product Specific Order Settings when UOM is not identified to 99.

    Then set the configure run after for the Scope - Failure as follows:

     

    image.png

     

     

    image.png

     

     

    Here is my test run result.

     

    image.png

     

     

    Let me know how it goes.

     

    Thanks

  • MarcRohde Profile Picture
    109 on at

    This worked flawlessly!  Thanks for the quick response!

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard