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 / is there a feature in ...
Power Automate
Unanswered

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
    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

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