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 -
Desktop Power Automate Subflow -
Online Power Automate flow to run the Desktop Power Automate Flow -
Thanks so much!
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.
Hi @momlo - after refresh action I have a wait delay of c.45 secs and then it continues to save and terminate EXCEL processes
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
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!
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.
1. Debug your PAD flow and see if any issue in flow.
2. What is the PA cloud flow recurrence frequency ?
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2