Logic app standard (single-tenant) - how to resubmit any workflow run using API?

DS 21 Reputation points
2022-07-25T10:41:59.74+00:00

I want to resubmit the Logic app standard workflow programmatically using API but not able to find any documentation around this. Any help here will be highly appreciated.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,560 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,941 Reputation points Moderator
    2022-07-25T13:18:13.277+00:00

    @DS Thanks for reaching out. You can also refer to this discussion to get the Get Run history for a particular workflow.

    As standard logic app is built on top of function runtime and it uses the same function REST API. The API is not yet available for consumption and therefore it is not documented. For now, the workaround would be finding the REST API calls using the browser traces or fiddler traces that are initiated from the portal. For your reference sharing the REST calls as per your requirement and you need to pass the Authorization: Bearer <bearer-token> as documented here for any azure management REST call.

    Get Run history for a particular workflow:
    GET
    /subscriptions/{subscription ID}/resourceGroups/{resourcegroup name}/providers/Microsoft.Web/sites/{standard logicapp name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflow name}/runs?api-version=2018-11-01

    **Resubmit the Run with POST request without any request body: **
    POST
    /subscriptions/{subscription ID}/resourceGroups/{resourcegroup name}/providers/Microsoft.Web/sites/{standard logicapp name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflow name}/triggers/manual/histories/{runID}/resubmit?api-version=2018-11-01

    Let me know if you need any assistance.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.