Skip to content

Commit 12c799c

Browse files
committed
Clarify when set to 'node' versus 'dotnet'
1 parent 0d3d730 commit 12c799c

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

articles/logic-apps/create-single-tenant-workflows-visual-studio-code.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,23 @@ services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, azla
77
ms.topic: how-to
8-
ms.date: 08/20/2022
8+
ms.date: 09/06/2022
99
ms.custom: ignite-fall-2021
1010
---
1111

1212
# Create an integration workflow with single-tenant Azure Logic Apps (Standard) in Visual Studio Code
1313

1414
[!INCLUDE [logic-apps-sku-standard](../../includes/logic-apps-sku-standard.md)]
1515

16-
This article shows how to create an example automated integration workflow that runs in the *single-tenant* Azure Logic Apps environment by using Visual Studio Code with the **Azure Logic Apps (Standard)** extension. The logic app that you create with this extension is based on the **Logic App (Standard)** resource type, which provides the following capabilities:
17-
18-
* You can locally run and test logic app workflows in the Visual Studio Code development environment.
16+
This article shows how to create an example automated integration workflow that runs in the *single-tenant* Azure Logic Apps environment by using Visual Studio Code with the **Azure Logic Apps (Standard)** extension. When you use this extension, you create a Standard logic app resource and workflow that provides the following capabilities:
1917

2018
* Your logic app can include multiple [stateful and stateless workflows](single-tenant-overview-compare.md#stateful-stateless).
2119

2220
* Workflows in the same logic app and tenant run in the same process as the Azure Logic Apps runtime, so they share the same resources and provide better performance.
2321

24-
* You can deploy the **Logic App (Standard)** resource type directly to the single-tenant Azure Logic Apps environment or anywhere that Azure Functions can run, including containers, due to the Azure Logic Apps containerized runtime.
22+
* You can locally create, run, and test workflows in the Visual Studio Code development environment. You can deploy your logic app locally, to Azure, which includes the single-tenant Azure Logic Apps environment or App Service Environment v3 (ASEv3) - Windows plans only, and on-premises using containers, due to the Azure Logic Apps containerized runtime.
2523

26-
For more information about the single-tenant Azure Logic Apps offering, review [Single-tenant versus multi-tenant and integration service environment](single-tenant-overview-compare.md).
24+
For more information about single-tenant Azure Logic Apps, review [Single-tenant versus multi-tenant and integration service environment](single-tenant-overview-compare.md).
2725

2826
While the example workflow is cloud-based and has only two steps, you can create workflows from hundreds of operations that can connect a wide range of apps, data, services, and systems across cloud, on premises, and hybrid environments. The example workflow starts with the built-in Request trigger and follows with an Office 365 Outlook action. The trigger creates a callable endpoint for the workflow and waits for an inbound HTTPS request from any caller. When the trigger receives a request and fires, the next action runs by sending email to the specified email address along with selected outputs from the trigger.
2927

@@ -174,7 +172,7 @@ To find and confirm these settings, follow these steps:
174172

175173
![Screenshot that shows Azure pane and selected filter icon.](./media/create-single-tenant-workflows-visual-studio-code/filter-subscription-list.png)
176174

177-
Or, in the Visual Studio Code status bar, select your Azure account.
175+
Or, in the Visual Studio Code status bar, select your Azure account.
178176

179177
1. When another subscriptions list appears, select the subscriptions that you want, and then make sure that you select **OK**.
180178

@@ -473,6 +471,12 @@ To locally run webhook-based triggers and actions in Visual Studio Code, you nee
473471
}
474472
```
475473

474+
> [!NOTE]
475+
>
476+
> If your project is NuGet package-based (.NET), not extension bundle-based (Node.js),
477+
> `"FUNCTIONS_WORKER_RUNTIME"` is set to `"dotnet"`. However, to use **Inline Code Operations**,
478+
> you must have `"FUNCTIONS_WORKER_RUNTIME"` set to `"node"`
479+
476480
The first time when you start a local debugging session or run the workflow without debugging, the Logic Apps runtime registers the workflow with the service endpoint and subscribes to that endpoint for notifying the webhook operations. The next time that your workflow runs, the runtime won't register or resubscribe because the subscription registration already exists in local storage.
477481

478482
When you stop the debugging session for a workflow run that uses locally run webhook-based triggers or actions, the existing subscription registrations aren't deleted. To unregister, you have to manually remove or delete the subscription registrations.
@@ -490,7 +494,7 @@ When you stop the debugging session for a workflow run that uses locally run web
490494

491495
## Manage breakpoints for debugging
492496

493-
Before you run and test your logic app workflow by starting a debugging session, you can set [breakpoints](https://code.visualstudio.com/docs/editor/debugging#_breakpoints) inside the **workflow.json** file for each workflow. No other setup is required.
497+
Before you run and test your logic app workflow by starting a debugging session, you can set [breakpoints](https://code.visualstudio.com/docs/editor/debugging#_breakpoints) inside the **workflow.json** file for each workflow. No other setup is required.
494498

495499
At this time, breakpoints are supported only for actions, not triggers. Each action definition has these breakpoint locations:
496500

@@ -823,7 +827,7 @@ Deployment for the **Logic App (Standard)** resource type requires a hosting pla
823827
"IsEncrypted": false,
824828
"Values": {
825829
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
826-
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
830+
"FUNCTIONS_WORKER_RUNTIME": "node",
827831
"APPINSIGHTS_INSTRUMENTATIONKEY": <instrumentation-key>
828832
}
829833
}
@@ -1086,7 +1090,7 @@ To debug a stateless workflow more easily, you can enable the run history for th
10861090
"IsEncrypted": false,
10871091
"Values": {
10881092
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
1089-
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
1093+
"FUNCTIONS_WORKER_RUNTIME": "node",
10901094
"Workflows.{yourWorkflowName}.OperationOptions": "WithStatelessRunHistory"
10911095
}
10921096
}
@@ -1100,7 +1104,7 @@ To debug a stateless workflow more easily, you can enable the run history for th
11001104
"Values": {
11011105
"AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=fabrikamstorageacct; \
11021106
AccountKey=<access-key>;EndpointSuffix=core.windows.net",
1103-
"FUNCTIONS_WORKER_RUNTIME": "dotnet",
1107+
"FUNCTIONS_WORKER_RUNTIME": "node",
11041108
"Workflows.{yourWorkflowName}.OperationOptions": "WithStatelessRunHistory"
11051109
}
11061110
}

0 commit comments

Comments
 (0)