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 / Power Automate Flow De...
Power Automate
Unanswered

Power Automate Flow Desktop - Ending/Stopping Flow

(0) ShareShare
ReportReport
Posted on by 27

Hi guys,

 

I have an Power Automate Online Flow that runs a Power Automate Desktop Flow. I am having an issue with the Power Automate Desktop Flow where the flow never ends. I have tried to add a 'Stop flow' at the end of my Power Automate Desktop Flow however it doesn't seem to be working and the flow just keeps on running

 

What happens is that the Online Power Automate flow runs and then starts the Desktop Power Automate flow however as the Desktop Power Automate flow never seems to stop/end, the online Power Automate flow still thinks it is running the Desktop Power Automate flow and never successfully completes. I think this is due to the Desktop Power Automate flow not having a stop or the stop not working correctly. Please can you advise?

 

Desktop Power Automate Mainflow -

threw001_0-1674610948466.png

 

Desktop Power Automate Subflow -

threw001_1-1674611013233.png

 

Online Power Automate flow to run the Desktop Power Automate Flow -

threw001_2-1674611100284.png

 

Thanks so much!

I have the same question (0)
  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    1. Debug your PAD flow and see if any issue in flow.

    2. What is the PA cloud flow recurrence frequency ?

  • Highboy Profile Picture
    1,185 Super User 2024 Season 1 on at

    You do not need and "Exit subflow" as it always return to the point it was called from.
    You do not need to put a "Stop flow" in main, because when it reaches the last line it will stop.
    If you cancel the cloud flow, you should be able to see in the log where it was "stuck"


    Below is a picture from one of our logs where you can see that it was manually cancelled and what it was doing at the time (Don't mind the Danish text) and that will give you an idea of what your problem is.

    Highboy_0-1674735825145.png

     



  • threw001 Profile Picture
    27 on at

    Hi @Highboy thanks for your help.

     

    I found the issue and it was with Close Excel Instance action, it was still not closing the excel process in the background thus that action never ends. Instead of using Close Excel Instance, i am using terminate process with Excel

     

    Thanks!

  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    Aren't you interrupting the refresh action when you terminate?

    Have you considered setting up action to repeat x number of times if it fails? For example: repeat 5 times in 20s intervals

  • threw001 Profile Picture
    27 on at

    Hi @momlo - after refresh action I have a wait delay of c.45 secs and then it continues to save and terminate EXCEL processes 

  • momlo Profile Picture
    1,527 Super User 2024 Season 1 on at

    yeah, that's what i mant, if refresh is not completed withing the 45s you will interrupt it by terminating the process, so the data refreshed are not saved, are they so you end up with outdated data?

     

    Reading your initial problem it seems that your excel never completed the refresh hence your "save excel" action was waiting for it forever. So this seems like issue with excel and refresh rather than PAD.

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
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard