Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

How to get current running flow or cancel running flow using Power Automate WebAPI?

Posted on by 10

Hi,

I have a requirement to cancel All running flows of the System using web API.

Is it possible using D365 WebAPI to cancel the running flows or not?

I am aware about Turning On and Off using API below.

Flows are now stored in Dataverse and use the rich Web API - Power Automate | Microsoft Docs

But not sure if its possible to cancel the running flow using API or not? Does any one did something like this before?

Thanks in advance.

  • Verified answer
    Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: How to get current running flow or cancel running flow using Power Automate WebAPI?

    HI,

    Please refer below link:

    https://ashiqf.com/2021/05/16/cancel-all-your-running-power-automate-flow-runs-using-m365-cli-and-rest-api/

    Thanks,
    Pradeep

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: How to get current running flow or cancel running flow using Power Automate WebAPI?

    Hi,

    It is possible to cancle flow run using Power automate Rest API. I have created the custom connector to do that.

    Please check below link for downloading the file and details for setup -

    www.connector.gallery/.../

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans