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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / is there a feature in ...
Power Automate
Answered

is there a feature in power automate to stop a flow when its already run by another user

(0) ShareShare
ReportReport
Posted on by 30

is there a feature in power automate to stop a flow when its already run by another user

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @PADUser123 :

    You might consider trying this solution:
    First step: Get all the running flows in the run history of this flow

    Second step: Use Cancel Flow Run action to cancel all running flows

    vbofengmsft_4-1644373826244.png

    About how to get the run history:

    You can use the API to create a custom connector to get the running history of Flow:

    https://emea.api.flow.microsoft.com/providers/Microsoft.ProcessSimple/environments/{environment_name}/flows/{flow_name}/runs

    The following are some key steps:

     Step1: Add the Activity.Read.All and Flows.Read.All permissions

    vbofengmsft_0-1644373737045.jpeg

     

    Step2: Download and import the swagger file for the custom connector.  And then Enter Client Id, Client Secret and Resource URLhttps://service.flow.microsoft.com/

    vbofengmsft_1-1644373737508.jpeg

     

    vbofengmsft_2-1644373737359.jpeg

     

    The Result

    vbofengmsft_3-1644373737368.jpeg

     

    Please click this link to read StefanS365's article.

    If you are new to creating a custom connector, please watch this video

    Best Regards,

    Bof

  • PADUser123 Profile Picture
    30 on at

    https://www.youtube.com/watch?v=1oX5DcJrXPs   

    watch this video we will get some idea to solve the question

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard