Skip to content

Commit 8fff1ef

Browse files
Merge pull request #286672 from ecfan/patch-2
Clarify available triggers for stateless workflows
2 parents 27ad6c9 + 052e4f7 commit 8fff1ef

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

articles/logic-apps/single-tenant-overview-compare.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services: azure-logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: conceptual
8-
ms.date: 08/11/2024
8+
ms.date: 09/12/2024
99
---
1010

1111
# Differences between Standard single-tenant logic apps versus Consumption multitenant logic apps
@@ -129,7 +129,14 @@ Within a **Standard** logic app, you can create the following workflow types:
129129

130130
A stateless workflow provides the best performance when handling data or content that doesn't exceed 64 KB in *total* size, such as a file. Larger content sizes, such as multiple large attachments, might significantly slow your workflow's performance or even cause your workflow to crash due to out-of-memory exceptions. If your workflow might have to handle larger content sizes, use a stateful workflow instead.
131131

132-
In stateless workflows, [*managed connector actions*](../connectors/managed.md) are available, but *managed connector triggers* are unavailable. So, to start your workflow, select a [built-in trigger](../connectors/built-in.md) instead, such as the Request, Event Hubs, or Service Bus trigger. These triggers run natively on the Azure Logic Apps runtime. The Recurrence trigger is unavailable for stateless workflows and is available only for stateful workflows. For more information about limited, unavailable, or unsupported triggers, actions, and connectors, see [Changed, limited, unavailable, or unsupported capabilities](#limited-unavailable-unsupported).
132+
> [!NOTE]
133+
>
134+
> In stateless workflows, you can only use [push triggers](../connectors/introduction.md#triggers)
135+
> where you don't specify a schedule for running for your workflow. These webhook-based triggers wait for an
136+
> event to happen or data to become available. For example, the Recurrence trigger is available only for stateful
137+
> workflows. To start your workflow, select a push trigger such as the Request, Event Hubs, or Service Bus trigger.
138+
> For more information about limited, unavailable, or unsupported triggers, actions, and connectors, see
139+
> [Changed, limited, unavailable, or unsupported capabilities](#limited-unavailable-unsupported).
133140
134141
Stateless workflows run only synchronously, so they don't use the standard [asynchronous operation pattern](/azure/architecture/patterns/async-request-reply) used by stateful workflows. Instead, all HTTP-based actions that return a ["202 ACCEPTED"](https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.3) response continue to the next step in the workflow execution. If the response includes a `location` header, a stateless workflow won't poll the specified URI to check the status. To follow the standard asynchronous operation pattern, use a stateful workflow instead.
135142

@@ -262,9 +269,10 @@ For the **Standard** logic app workflow, these capabilities have changed, or the
262269

263270
* **Triggers and actions**: [Built-in triggers and actions](../connectors/built-in.md) run natively in Azure Logic Apps, while managed connectors are hosted and run using shared resources in Azure. For Standard workflows, some built-in triggers and actions are currently unavailable, such as Sliding Window, Azure App Service, and Azure API Management. To start a stateful or stateless workflow, use a built-in trigger such as the Request, Event Hubs, or Service Bus trigger. The Recurrence trigger is available for stateful workflows, but not stateless workflows. In the designer, built-in triggers and actions appear with the **In-App** label, while [managed connector triggers and actions](../connectors/managed.md) appear with the **Shared** label.
264271

265-
For *stateless* workflows, *managed connector actions* are available, but *managed connector triggers* are unavailable. Although you can enable managed connectors for stateless workflows, the designer doesn't show any managed connector triggers for you to add.
272+
Stateless workflows can use only [*push* triggers](../connectors/introduction.md#triggers) where you don't specify a schedule for running for your workflow. These webhook-based triggers wait for an event to happen or data to become available. For example, the Recurrence trigger is available only for stateful workflows. To start your workflow, select a push trigger such as the Request, Event Hubs, or Service Bus trigger. Although you can enable managed connectors for stateless workflows, the connector gallery doesn't show any managed connector [*polling* triggers](../connectors/introduction.md#triggers) for you to add.
266273

267274
> [!NOTE]
275+
>
268276
> To run locally in Visual Studio Code, webhook-based triggers and actions require additional setup. For more information, see
269277
> [Create single-tenant based workflows in Visual Studio Code](create-single-tenant-workflows-visual-studio-code.md#webhook-setup).
270278

0 commit comments

Comments
 (0)