Hey all,
Is it possible to resubmit multiple flows? It seems like you only are able to do it one at the time.
Hey all,
Is it possible to resubmit multiple flows? It seems like you only are able to do it one at the time.
@MikkelNielsen-7017 - My understanding is that your question with regards to the Microsoft Flows (Microsoft Power Automate). If this is not case, request you ignore the below answer and provide additional context. to the question
With regards to PowerAutomate, There is a feature request to resubmit in bulk reported in the below link. The current status is PLANNED .
https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Resubmit-multiple-failed-flow-runs-at-once/idi-p/59866/page/3#comments

At this point of time - There is no option from the UI to resubmit the flow in Bulk.
However, the alternative you could use M365 CLI
To get the flow environment id & Flow id, Access the flow and you get the GUID from the URL.

$flowRuns = m365 flow run list --environment <ENVIRONMENT GUID> --flow <FLOW GUID> --output json | ConvertFrom-Json
foreach ($run in $flowRuns)
{
#if you want to filter all the failed flow runs
#if($run.status -eq "Failed")
# {
Write-Output "Run details: " $run
#Resubmit all runs
m365 flow run resubmit --environment $flowEnvironment --flow $flowGUID --name $run.name --confirm
Write-Output "Run resubmitted successfully"
#}
}
4 people are following this question.