Blog Post

Azure Integration Services Blog
2 MIN READ

Announcing General Availability of Resume from Action in Logic Apps

shahparth's avatar
shahparth
Icon for Microsoft rankMicrosoft
Dec 03, 2024

We’re thrilled to announce that the Resume from Action feature in Azure Logic Apps is now generally available (GA)! This milestone builds on the momentum from its public preview, bringing enhanced reliability and debugging capabilities to your workflows. With GA, we’re introducing a brand-new API that further enriches the feature's usability and automation potential.

 

What is Resume from Action?

This feature allows you to restart your Logic App workflow from any action, saving time and effort during troubleshooting. Instead of restarting the workflow from the beginning, this functionality enables a targeted resumption, improving efficiency when debugging complex workflows.

For example, if a workflow fails due to an issue with an SQL connection, you can fix the SQL issue and resume the workflow from the action where it failed by right-clicking on the failed action in Run History view, rather than rerunning the entire process. This makes it much easier to recover and continue operations without unnecessary delays.

Note: With respect to control actions like For-each, Do-Until and If, you may have to resume from the action before.

 

 

API

POST:  https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runId}/resubmit?api-version=2016-06-01

Body:

{

    “actionsToResubmit”: [“name”: “{actionName}”]

}

URI Parameters

Name

In

Required

Type

Description

subscriptionId

path

true

string

The subscription Id

resourceGroup

path

true

string

The resource group name

workflowName

path

true

string

The workflow name

runId

path

true

string

The run identifier

api-version

query

true

string

The API version

 

BODY Parameters

Name

In

Required

Type

Description

actionName

Body

true

string

The action name to resubmit

 

Responses

202 Accepted OK

Security

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Sample request

HTTP

POST https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/workflows/testWorkflowName/runs/08584699025153577060472209125CU12/resubmit?api-version=2016-06-01

{

    “actionsToResubmit”: [“name”: “Http_Get_Record”]

}

Note: Only 1 action can be resubmitted.

Use Cases for Resume from Action

  1. Error recovery: Resume workflows directly from the point of failure without reprocessing completed actions.
  2. Improved debugging: Analyze and fix specific errors in complex workflows with precision.
  3. Automated management: Leverage the new API for programmatic resubmission and integrate with CI/CD workflows.

 

The Resume from Action feature streamlines troubleshooting in Logic Apps. Try it out and share your feedback to help us improve!

Published Dec 03, 2024
Version 1.0
No CommentsBe the first to comment