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
    981 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.
  • Suggested answer
    Robert Bailey Upzoids Profile Picture
    69 on at

    Really you want to perhaps excessively add testing lines - debugging info output generation throughout so you can compare the data as it moves along the flow in successful vs. unsuccessful runs. 

    If you are composing something, add a step that separately outputs it constituent parts so you can verify the format of the data throughout.

  • Suggested answer
    Syed Aqib Raza Profile Picture
    94 on at

    A good way to troubleshoot an intermittently skipped Power Automate action is to first determine whether the action is actually being skipped by the flow logic or whether it is failing due to timing/connector behavior.

    I would recommend:

    • Check the Run History and open a successful and an unsuccessful run side by side.
    • Inspect the Inputs and Outputs of the action immediately before the skipped step.
    • Check the action's Configure run after settings. An action can appear skipped if it is configured to run only after a particular status.
    • Add temporary Compose actions before and after important conditions to capture the values being evaluated.
    • For complex conditions, log the evaluated values rather than only the final result.
    • Check for parallel branches, concurrency, delays, and race conditions, especially when multiple actions update the same record.
    • Review connector throttling and retry behavior if the issue occurs randomly.
    • If necessary, write diagnostic information to a SharePoint list or Dataverse table, including the run ID, timestamp, record ID, condition values, and action status.

    I would avoid adding large amounts of permanent logging initially. Start with Compose + Run History, identify exactly where the execution path differs, and then add persistent logging only around the problematic section.

    Most importantly, check Configure run after and condition expressions first—a genuinely “Skipped” action is often caused by the flow's execution path rather than the connector itself.

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 July Top 10 Community Leaders

These are the community rock stars!

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

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 23 Most Valuable Professional

#2
Syed Aqib Raza Profile Picture

Syed Aqib Raza 19

#3
11manish Profile Picture

11manish 16 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans