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 Platform Community / Forums / Power Automate / Desktop Flow running i...
Power Automate
Unanswered

Desktop Flow running in EDIT MODE but NOT RUNNING in View mode

(0) ShareShare
ReportReport
Posted on by 12

I have the power to automate desktop flow that extracts data from SAP and creates an Excel report, when I run It in Edit mode it successfully completes but after saving that and running in View mode, It's not running and is stuck somewhere, can anyone help on that?

I have the same question (0)
  • OkanMTL Profile Picture
    703 Super User 2024 Season 1 on at

    You can look at the history of your flow to see where it stops 😄

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    You may need at least a basic error handling and logging implemented to figure out what goes wrong.

    Try adding an On block error action and encapsulate your entire flow with it. Then add rules for it to call a separate sub-flow (you will need to create it first) and have that sub-flow use Get last error to get the details of the error and Write text to file or Display message to either log the error to a file or display it in a pop-up dialog. This way you will be able to capture the error and figure out what's wrong.

     

    My best guess here is that the debugger is designed to run slower than actual runtime on purpose, so you can debug issues. And it might be that you've built your flow in a way that assumes that is the normal speed. But when it runs in actual runtime (what you call the "view mode"), it runs much faster and some parts of your SAP application may simply not keep up with the speed at which your flow performs its actions. But in order to verify this (and to resolve it), you will first need to figure out what it is exactly by implementing my suggestion above.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

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

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 632

#2
Haque Profile Picture

Haque 458

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard