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
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
- First step, Start with String input
- Loop every Input
split(triggerBody()['text'],';')​
- stop the flow with ID-Number
- 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

Report
All responses (
Answers (