Rest Api for Logic App Standard Recurrence trigger?

Hari Vuppala 21 Reputation points
2022-01-05T15:16:55.943+00:00

I need to trigger a logic app standard recurrence trigger workflow and realised that there is no rest api support to achieve this as we used to do for multi tenant logic app. Is there a way to do this for single tenant workflow? I tried to create a wrapper workflow with http trigger having an action "Invoke a workflow in this workflow app" to call the recurrence trigger workflow but no luck. Got the error "The nested workflow trigger type 'Recurrence' is not valid". So seems like this isn't supported in any possible way even though we can manually trigger it on the portal via "Run Trigger" button. Any solution to achieve this is appreciated.

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

Answer accepted by question author
  1. MayankBargali-MSFT 70,981 Reputation points Moderator
    2022-01-06T04:29:44.597+00:00

    @Hari Vuppala As the Logic app standard uses Azure function runtime you can either capture the F2/fiddler traces to know the REST call that is called from the Azure portal. The Standard Logic app uses the same management API as the azure function. You can try leveraging the below REST call for Logic App Standard Recurrence trigger. To get the bearer token you can refer to this document.
    REST URL : https://management.azure.com/subscriptions/{subscriptionID}/resourceGroups/{your resource groupname}/providers/Microsoft.Web/sites/{logicappname}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{yourworkflowname}/triggers/{yourtriggername}/run?api-version=2018-11-01
    METHOD: POST
    Authorization: Bearer <Bearer Token>

    Example:
    https://management.azure.com/subscriptions/mysubscriptionGUID/resourceGroups/mylogicappresourcegroup/providers/Microsoft.Web/sites/standardmak/hostruntime/runtime/webhooks/workflow/api/management/workflows/trigg/triggers/runMyReoccuranceTrigger?api-version=2018-11-01

    162741-image.png

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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