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 Automate
Unanswered

Run after issue

(0) ShareShare
ReportReport
Posted on by 15

Hello All,

 

 

I am having an issue with understanding the run after. What i want to accomplish is that when the first start and wait times out or errors out the second will run, both which will use the same switch that looks at outcome. THe problem is it runs the first and then even if the start and wait is actioned (so there is an outcome) the switch waits for the second to be actioned, and if the second is actioned as well as (or instead of) the first then the flow will still not finsih running and stops at the switch step still. I may have fixed it but would appreciate another set of eyes on it.

 

Image is below as it wouldn't upload!

Categories:
I have the same question (0)
  • BasicBee Profile Picture
    15 on at
    Capture.PNG
  • creativeopinion Profile Picture
    10,508 Moderator on at

    @BasicBee Have you tried turning on the concurrency control in the Apply to Each actions?

  • BasicBee Profile Picture
    15 on at

    Hello @creativeopinion,

     

    What will this change? 

     

    Here is a better view. See i want the for each 3 and then 2 to activate (and only activate) when start and wait timeouts or errors out.

     

     

    BasicBee_0-1704762418317.png

     

  • BasicBee Profile Picture
    15 on at

    Hello @creativeopinion,

     

    What will this change? 

  • creativeopinion Profile Picture
    10,508 Moderator on at

    @BasicBee The concurrency control will run multiple instances of the Apply to each action simultaneously rather than looping through each item one at a time. However, looking at your flow again. I don't think you need to turn it on.

     

    I also can't tell what your Apply to Each actions are looping through from the screenshots you've shared. Can you please share a screenshot with more details.

     

    Tip: Rename your actions to keep things organized!

     

    You might also be interested in this YT Tutorial I recently uploaded: 3 Mistakes YOU 🫵 are Making with the Apply to Each Action in your Microsoft Power Automate Flow

     

    In this video tutorial I’ll go over how to avoid these common mistakes when using the Apply to Each action in a Power Automate flow:

    1️⃣Looping through a Single Item

    2️⃣ Creating Unnecessary Nested Loops

    3️⃣ Looping through an Unfiltered Array

     

    At the end of the video I share a few helpful insights when it comes to using the Apply to Each action in your flow.

    I'll also cover:

     How to avoid the Apply to Each action with a single item array

     How to use the item() function to access dynamic content in an array

     How to prevent unnecessary nested Apply to Each action loops

     How to use the Select action

     How to convert an array to a string with the Select action

    How to use the Filter Query field

     How to count the number of items in an array

     How to use a condition control

     How to use the concurrency control

     How to set a top count

     How to use Compose actions for troubleshooting

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard