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 :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Best way to troubleshoot a Power Automate flow that randomly skips a step?

(0) ShareShare
ReportReport
Posted on by

The flow is part of a content management process, so consistency is important. We use it to organize and publish gaming-related articles and updates. For example, when preparing content about Stick War Legacy Mod APK, the automation helps move information through different stages before publication. Since we also reference resources from StickWarMods during our workflow, a skipped action can leave the content incomplete even though the run history doesn't show an obvious error.

I'm wondering if anyone has dealt with cloud flows that only fail intermittently. Have you found that adding Compose actions, extra variables, or logging to a SharePoint list or Dataverse makes it easier to identify where the flow is taking an unexpected path? Could connector throttling, timing issues, or condition evaluation be responsible even when the previous action reports as successful?

I'd appreciate hearing about any debugging techniques or best practices that have worked for you.

Categories:
I have the same question (0)
  • Suggested answer
    FSRon Profile Picture
    103 on at
    hi, what I usually do in this situation is add a compose right in front of the condition and I add the operators of the condition to the compose.
     
    So I might just have 4 lines of:
     
    @{triggerOutputs()?['body/_parentcustomerid_value']}
     
    or whatever you're comparing.
    Then you can usually see quite easily that the content was empty or not as expected in some way. (when you open the flow run and open the compose you can see what those variables were at that exact time)
     
    The worst/most confusing that is hard to spot in this case, is if the comparison format isn't the same. So if youre comparing 01234 and "01234" then that would not be obvious via a compose, but if you haven't guessed by that time, you can always add functions to get the data type. 
     
    Let me know if that works! Good luck!
  • Suggested answer
    Jimmy Passeti Profile Picture
    955 Most Valuable Professional on at
    I've seen this a few times, and in many cases the action wasn't actually being "randomly skipped." The flow logic was evaluating differently than expected, or a Run After configuration was causing behavior that wasn't obvious from the designer.
     
    My typical troubleshooting approach is:
     
    1. Compare a successful run vs. a problematic run
    Open both run histories side-by-side and compare:
    • Trigger inputs
    • Outputs of the action immediately before the condition
    • Condition evaluation results
    • Variables and Compose outputs
    Often you'll find that a field is occasionally null, blank, differently formatted, or a different data type than expected. What looks correct in the designer may not exactly match the runtime value.

    2. Inspect the Condition details carefully
    Click the condition in the run history and review:
    • The actual expression being evaluated
    • Left and right values
    • Whether the condition evaluated to True or False
    I've seen issues caused by:
    • String vs. number comparisons ("1" vs 1)
    • Extra spaces
    • Null values
    • Date/time conversions
    • Boolean values stored as text ("true" vs true)
     
    3. Check "Configure run after"
    This is one of the most overlooked areas.
    An action can run or skip depending on whether a previous action:
    • Succeeded
    • Failed
    • Timed out
    • Was skipped
    If Run After settings were modified, downstream actions may behave in ways that don't immediately make sense from the visual flow layout.

    4. Check for concurrency and timing issues
    If your flow processes multiple records simultaneously, you may be hitting:
    • Concurrency conflicts
    • Delayed updates
    • Data not yet committed when the next action executes
    In those cases, adding a short delay, retry policy, or disabling concurrency (for testing) can help isolate the problem.

    5. Add a Try/Catch pattern
    For production flows, I often use:
    • Scope - Try
    • Scope - Catch
    • Scope - Finally
    combined with Configure Run After. This makes it easier to log failures and unexpected states without losing diagnostic information.

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!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 27

#2
KristineRisberg Profile Picture

KristineRisberg 19

#3
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 17 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans