
Announcements
Hi, guys!
I use this request to get running flows.
and then got the response smth like this
"value":[
{
"name": "08584922969917208414059650647CU40",
"id": "/providers/Microsoft.ProcessSimple/environments/{myEnv}/flows/{myflow}/runs/08584922969917208414059650647CU40",
"type": "Microsoft.ProcessSimple/environments/flows/runs",
"properties":{"startTime": "2024-03-01T16:18:13.7811527Z", "status": "Running", "correlation":{"clientTrackingId": "08584922969917208414059650647CU40"…}
},
So I use 08584922969917208414059650647CU40 as {FlowRunID} to Cancel the process
POST
https://api.flow.microsoft.com/providers/Microsoft.ProcessSimple/environments/{FlowEnvironment}/flows/{FlowGUID}/triggers/manual/histories/{FlowRunID}/cancel?api-version=2016-11-01
but I got an Error:
{message": "No HTTP resource was found that matches the request URI 'https://10.0.8.18:20101/providers/Microsoft.ProcessSimple/environmen..'}
Where did I miss?
Hi @Max77
You may want to put this into the Power Automate forum for better response time. I do know you can do this with PowerShell Stop-Flow command passing in the Id but not the ability to stop with HTTP request.