Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to have multiple triggers in Azure Logic Apps

When you look at the summary tile on a Logic App in the Azure Portal, it says '1 trigger, x actions'

Which made me wonder is it possible to put multiple triggers in a single Logic App? or do I need to create distinct logic apps for each function (and if so, why is it telling me there's one trigger!)

On a related note (this might be better in a separate question) when using the HTTP listener, is it possible to configure multiple Relative URLs or does that need to be split out into separate Logic Apps also

like image 867
Michael B Avatar asked Sep 04 '15 08:09

Michael B


People also ask

How do I create multiple triggers in logic app?

If you are using multiple triggers, it is not possible to use the Logic app designer anymore. If you don't have enough experience with code, start with the creation of the Azure logic app and when your flow is created set the second trigger via the code view, save and test.

Can logic app have multiple workflows?

A single logic app can have multiple stateful and stateless workflows. Workflows in a single logic app and tenant share the same processing (compute), storage, network, and so on.

What are triggers in logic apps?

Recurrence trigger lets you set the start date and time plus the recurrence for firing your logic app. For example, you can select the days of the week and times of day for triggering your logic app.


1 Answers

Yes, a workflow can have multiple triggers.

A workflow can have a maximum of 10 triggers and 250 actions can be defined.

You can have look on the Workflow definition language where "triggers" is an array.

NOTE: the work has to be done in the "Code" view, as the "Designer" does NOT support multiple triggers.

like image 181
Vivek Avatar answered Sep 22 '22 12:09

Vivek