简体   繁体   English

Azure 逻辑应用程序中是否可以有多个触发器

[英]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'当您查看 Azure 门户中逻辑应用程序上的摘要磁贴时,它显示“1 个触发器,x 个操作”

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在相关说明中(这在单独的问题中可能会更好)在使用 HTTP 侦听器时,是否可以配置多个相对 URL,或者是否也需要将其拆分为单独的逻辑应用程序

Yes, a workflow can have multiple triggers.是的,一个工作流可以有多个触发器。

A workflow can have a maximum of 10 triggers and 250 actions can be defined.一个工作流最多可以有 10 个触发器,并且可以定义 250 个操作。

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.注:该作品中的“代码”视图中进行,作为“设计师”支持多个触发器。

You can have only a single trigger per logic app.每个逻辑应用只能有一个触发器。 You can test and verify this by attempting to add 2 recurrence triggers to a single logic app.您可以通过尝试向单个逻辑应用添加 2 个重复触发器来测试和验证这一点。 As it currently stands a Logic app is a single flow with out decision making.就目前而言,逻辑应用程序是一个没有决策制定的单一流程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure逻辑应用程序可以具有多个启动触发器吗? - Can an Azure Logic App have multiple start triggers? 如何在 Azure 逻辑应用程序中拥有多个批准区域? - How to have multiple approval areas in Azure Logic Apps? Azure Logic应用中的多个启动器触发器 - Multiple Starter Triggers in an Azure Logic App 逻辑应用子文件夹触发器 - Logic Apps subfolder triggers Azure Logic应用程序可能有多个入口点,还是我应该查看Azure Functions? - Are multiple entry points for Azure Logic Apps possible or should I be looking at Azure Functions? 是否可以在本地运行 Azure 逻辑应用程序 - Is it possible to run Azure Logic Apps On Premise Azure 逻辑应用程序 - 是否可以有一个指标来显示每个资源的所有触发触发的总和? - Azure Logic Apps - is it possible to have a metric that shows, per resource, the SUM of all Trigger Fired? 可以在Service Fabric中运行Logic Apps和Azure Functions(或等效功能)吗? - Possible to run Logic Apps and Azure Functions (or equivalent functionality) in Service Fabric? 是否可以使用 Azure 逻辑应用程序连接到第 3 方数据库? - Is it possible to connect to 3rd party database using Azure Logic Apps? 是否可以在 Azure Function 应用程序中为不同的队列触发器设置不同的设置? - Is it possible to have different settings for different Queue triggers in an Azure Function App?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM