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 / Solution - Stop all Ru...
Power Automate
Unanswered

Solution - Stop all Runnings of a cloud flow (infinite loop problem)

(0) ShareShare
ReportReport
Posted on by 2

I've been looking for a simple working variant for a long time to stop all executions of a flow at once. Since I don't have admin permissions, I can't have connectors that allow me to stop all current flows. Hence this solution:

 

My version is based on copying all IDs from the overview of all running flows as an array, and stopping them directly in a flow one after the other.

 

I've seen many solutions that emulate clicks in the browser via javascript buttons, but don't work equally well in every browser. I believe this solution is a very quick and easy solution for anyone who is in an infinite loop. 🙂

Isolating the IDs:

The first thing we need to do is to isolate all IDs using the browser's developer tool. At first go to Flow Overview Filtered by "Running" in the "All executions" overview

Screenshot 2023-04-05 094403.jpg

Use this code:

 

 

 

 

 

 

var array=[];document.querySelectorAll('.ms-Link.fl-Link').forEach(el=>{array.push(el.href.split('/')[el.href.split('/').length-1])});console.log(array.join(";"))

 

 

 

 

 

 

 

Create the flow to stop all IDs

elberen02_1-1680680769340.png

  • First step, Start with String input
  • Loop every Input 

 

 

 

 

 

split(triggerBody()['text'],';')​

 

 

 

 

 

  • stop the flow with ID-Number elberen02_2-1680680957334.png
  • GO

 

 

I hope I was able to explain it well and quickly and thus help many who have already spent an hour with the manual flow stop

Categories:
I have the same question (0)

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

David_MA 262 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 211 Most Valuable Professional

#3
trice602 Profile Picture

trice602 198 Super User 2025 Season 2

Last 30 days Overall leaderboard