Announcements
I have this type of flow where i am able to retrieve all flows in my environment now i want to cancel all running instance of each flow if there are any running instances.Please guide how can i achieve this ?
Hi , @vineet_tanwar
According to your description, you want to cancel the running flow in your side.
This is my test flow , you can refer to :
(1)Apply to each action:
https://api.flow.microsoft.com/providers/Microsoft.ProcessSimple/environments/Your environment ID/flows/Flow ID/runs?api-version=2016-11-01&$filter=Status eq 'running'
Base Source URL:https://api.flow.microsoft.com/
Azure AD Source URI:https://service.flow.microsoft.com/
(2)Condition -Yes:
If this reply can help you , you can click mark this reply as solution (Accept solution) which can help more people, thanks in advance!
Best Regards,
Yueyun Zhang
Thanks @v-yueyun-msft . This might work for me. i will try this. Can you please confirm if this will cancel all flow funs even if a flow has multiple instances running ?
Sure in my thought , it will cancel all the runnings in your flow.
@v-yueyun-msft Thanks.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 321 Super User 2026 Season 2
Mohsin Ali 271
Henil 115