I have an azure logic app that do some work and it make a delay for 10 minutes then do another couple of things.
I already calling this app from an azure function and everything is works OK.
Now i have a requirement to terminate the already running logic app based on specific events during the 10 minutes duration.
I took a look on logic apps documentation and here in SO logic apps questions but there is nothing about this.
So, is it a way so I can cancel the already running logic app pragmatically or via HTTP call?
You can try to make
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/cancel?api-version=2016-06-01
as described in https://learn.microsoft.com/en-us/rest/api/logic/workflowruns/cancel
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With