web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Ending a flow via hotkey?
Power Automate
Unanswered

Ending a flow via hotkey?

(0) ShareShare
ReportReport
Posted on by 96

Hi all,

 

Is there a way to stop a flow via hotkey? I've been using Robotask for my desktop automation and I wanted to look in to what Power Automate had to offer for desktop automation. I generally iterate pretty rapidly and if something breaks, I want to be able to shut things down immediately, so in previous projects I've had a global hotkey that stops any currently active processes. Is there something in Power Automate? I saw in the Debug pane a Stop button with the Shift+F5 combination, but I could only get it to work if the Power Automate window was focused. For example, if the flow was writing some text to a Notepad file and I pressed Shift+F5, the flow did not stop. The flows that I'm looking to make would use a lot of mouse movements, so if something went wrong it would likely be very difficult for the user to maneuver back to the Power Automate screen to press the stop hotkey there.

 

Related secondary question: If one has the Block Input action enabled, is it possible to stop a flow that hasn't hit a error?

Thank you for any assistance you can give. I'm still very new to the program, so I may have missed something that experienced users might think is obvious.

Categories:
I have the same question (0)
  • miketran13 Profile Picture
    720 on at

    Hi,

     

    From my experience, I don't see any hotkeys that can help you. For the hotkey Shift + F5 when debugging, it actually does not work as you said because when running, it will not have the focus on the PAD so you can't use that, or you must try yourself to focus on the PAD before sending the hotkeys. 

    However, it will not work in the real world because when running the flow without debugging, you will not have the IDE and the focus will change too fast from application to application. 

     

    Actually, when implementing the flow with PAD, you can have a lot of steps for checking the state / status of the fields or controls before doing anything. If these steps do not pass, then you just stop the flow there and write logs / send email.

     

    In PAD, you also have an action "On Block Error", it will catch the error for all action inside that block, once you got error with any actions inside the block, you can also write logs, stop the flow.

     

    Thanks and hope it can help you. 

    Mike

    ---------------------------------

    Did I answer your question? Please consider to Mark my post as a solution! to guide others

  • Verified answer
    IAQG Profile Picture
    96 on at

    Found a solution that worked for me. Under settings there is an option for a global kill command:

    IAQG_0-1614799149561.png

    So this works to kill all running processes. Hope this helps anyone else who's new like me with the same question.

  • JAWL Profile Picture
    393 on at

    Hi @IAQG 

     

    I pressed the hotkeys altogether simultaneously but that does not stop the desktop flow though. Any thoughts?

  • IAQG Profile Picture
    96 on at

    @JAWLI'm not sure the specifics of what all is happening in your flow, but I can say that the hotkey does not work if you're running from the flow builder panel. So if you press play here:

    IAQG_2-1634130870116.png

    then it won't work. If you are using the play button on the main PAD page, it should work:

    IAQG_1-1634130797519.png

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard