Skip to content

Commit 31bd7f1

Browse files
authored
Partial revisions
1 parent d21cd5a commit 31bd7f1

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

articles/logic-apps/logic-apps-scenario-function-sb-trigger.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,27 @@
11
---
2-
title: Call logic app workflows with Azure Functions
3-
description: Trigger a logic app workflow whenever an Azure Service Bus message arrives in a queue by using Azure Functions to call an endpoint on the logic app workflow.
2+
title: Set up long-running tasks by calling workflows with Azure Functions
3+
description: Set up long-running tasks by creating an Azure Logic Apps workflow that monitors and responds to messages or events and uses Azure Functions to trigger the workflow.
44
services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: how-to
88
ms.date: 10/31/2022
99
ms.custom: devx-track-csharp
10-
#Customer intent: As a logic apps developer, I want to use Azure Logic Apps to respond automatically and instantaneously to Azure Service Bus messages so that I don't have to monitor the messages manually.
10+
#Customer intent: As a logic apps developer, I want to set up a long-running task by creating a logic app workflow that monitors and responds to messages or events and uses Azure Functions to call the workflow.
1111
---
1212

13-
# Call or trigger logic app workflows by using Azure Functions and Azure Service Bus
13+
# Set up long running tasks by calling logic app workflows with Azure Functions
1414

1515
[!INCLUDE [logic-apps-sku-consumption](../../includes/logic-apps-sku-consumption.md)]
1616

17-
You can use [Azure Functions](../azure-functions/functions-overview.md) to trigger a logic app workflow when you need to deploy a long-running listener or task. For example, you can create a function that listens to an [Azure Service Bus](../service-bus-messaging/service-bus-messaging-overview.md) queue and immediately fires a logic app workflow as a push trigger.
17+
When you need to deploy a long-running listener or task, you can trigger your logic app workflow using Azure Functions. For example, you can create a function that listens for messages that arrive in an Azure Service Bus queue and works as a push trigger to immediately run the workflow.
1818

19-
This how-to guide shows you how to create a logic app workflow that starts with an HTTP request trigger. You also see how to create a function that listens to a message queue and calls the logic app endpoint whenever a queue message arrives.
19+
This how-to guide shows how to create a logic app workflow that starts with the Request trigger. You then create a function that listens to a message queue and calls the endpoint on the logic app workflow when a message arrives in the queue. Although you can implement this behavior for Consumption and Standard logic app workflows, this example continues by using a Consumption workflow as the example.
20+
21+
For more information, see the following documentation:
22+
23+
- [Introduction to Azure Functions](../azure-functions/functions-overview.md)
24+
- [What is Azure Service Bus?](../service-bus-messaging/service-bus-messaging-overview.md)
2025

2126
## Prerequisites
2227

@@ -30,13 +35,13 @@ This how-to guide shows you how to create a logic app workflow that starts with
3035

3136
## Create a logic app workflow
3237

33-
For this scenario, you have a function running for each logic app workflow that you want to trigger. First, you create a logic app workflow that starts with an HTTP request trigger. The function calls that endpoint whenever a queue message is received.
38+
For this scenario, you have a function running for each logic app workflow that you want to trigger. First, you create a logic app workflow that starts with a Request trigger. The function calls that endpoint whenever a queue message is received.
3439

35-
1. Sign in to the [Azure portal](https://portal.azure.com), and create a blank logic app workflow.
40+
1. In the [Azure portal](https://portal.azure.com), create a Consumption blank logic app by selecting the **Blank Logic App** template.
3641

37-
If you're new to logic apps, review [Quickstart: Create your first logic app workflow](quickstart-create-first-logic-app-workflow.md).
42+
1. After the designer opens, under the designer search box, select **Built-in**. In the search box, enter **request**.
3843

39-
1. In the search box, enter **http request**. From the triggers list, select the **When a HTTP request is received** trigger.
44+
1. From the triggers list, select the trigger named **When a HTTP request is received**.
4045

4146
:::image type="content" source="./media/logic-apps-scenario-function-sb-trigger/when-http-request-received-trigger.png" alt-text="Screenshot of the designer in the portal. The search box contains 'http request.' Under 'Triggers,' 'When a HTTP request is received' is highlighted.":::
4247

0 commit comments

Comments
 (0)