Blog Post

Azure Integration Services Blog
1 MIN READ

API Guide: Resubmitting from a specific Action in Logic Apps Standard

alexzuniga's avatar
alexzuniga
Former Employee
Nov 05, 2024

This article was originally written by Jenny Andersson in collaboration with Sofia Hubendick.

 

This how-to article explains the process of resubmitting a Logic App Standard from a specific action via API. If you want to resubmit the workflow from the beginning, you can use the Workflow Trigger Histories - Resubmit - REST API  instead.

 

Workflow Run Histories - Resubmit

 

Authentication

I used a managed identity for authentication, which simplifies the process by eliminating the need to obtain a token manually. Additionally, I implemented the new Logic App Standard Operator role.

URL
The URL for resubmitting an action looks like this:

 

 

 

 

https://management.azure.com/subscriptions/[subscriptionId]/resourceGroups/[resourceGroupName]/providers/Microsoft.Web/sites/[logicAppName]/hostruntime/runtime/webhooks/workflow/api/management/workflows/[workflowName]/runs/[runId]/resubmit?api-version=2022-03-01

 

 

 

 


Mandatory URL Path Parameters

Name

Description

subscriptionId

The Azure subscription Id

resourceGroupName

The name of the resource group containing the Logic App

logicAppName

The name of the Logic App

workflowName

The name of the workflow

runId

The id of the workflow run to be resubmitted


Request Body
The API request body is structured as follows; replace the placeholder with the name of the action:

 

 

 

 

 

{
  "actionsToResubmit": [
    {
      "name": "[action name]"
    }
  ]
}

 

 

 

 

Response

 

Name Description
202 Accepted

OK

Other Status Codes

Error response describing why the operation failed.

Published Nov 05, 2024
Version 1.0

3 Comments

    • andevjen's avatar
      andevjen
      Copper Contributor

      Hi piotrkalarus

      The feature for resubmitting from a specific action in Logic Apps Consumption is still in preview. However, you can achieve similar functionality by using a different resource provider in the URL. For Consumption-based Logic Apps, use the following endpoint:

      https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{logicAppName}/runs/{runId}/resubmit?api-version=2018-07-01-preview

      • piotrkalarus's avatar
        piotrkalarus
        Copper Contributor

        Hi andevjen ,

        Thank you for the answer. Does it support resubmit from action functionality when payload body is submitted?