Skip to content

Commit 7e00aca

Browse files
committed
Update Node.js version and other formatting edits
1 parent e994802 commit 7e00aca

File tree

1 file changed

+28
-29
lines changed

1 file changed

+28
-29
lines changed

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

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Install the following tools and versions for your specific operating system: Win
120120
121121
Currently, you can have both Consumption (multi-tenant) and Standard (single-tenant) extensions installed at the same time. The development experiences differ from each other in some ways, but your Azure subscription can include both Standard and Consumption logic app types. Visual Studio Code shows all the deployed logic apps in your Azure subscription, but organizes your apps under each extension, **Azure Logic Apps (Consumption)** and **Azure Logic Apps (Standard)**.
122122

123-
* To use the [Inline Code Operations action](../logic-apps/logic-apps-add-run-inline-code.md) that runs JavaScript, install [Node.js versions 12.x.x or 14.x.x](https://nodejs.org/en/download/releases/).
123+
* To use the [Inline Code Operations action](../logic-apps/logic-apps-add-run-inline-code.md) that runs JavaScript, install at least [Node.js versions 16.x.x](https://nodejs.org/en/download/releases/).
124124

125125
> [!TIP]
126126
> For Windows, download the MSI version. If you use the ZIP version instead, you have to
@@ -167,7 +167,7 @@ Install the following tools and versions for your specific operating system: Win
167167

168168
![Screenshot that shows Visual Studio Code Activity Bar and selected Azure icon.](./media/create-single-tenant-workflows-visual-studio-code/visual-studio-code-azure-icon.png)
169169

170-
1. In the Azure pane, under **Azure: Logic Apps (Standard)**, select **Sign in to Azure**. When the Visual Studio Code authentication page appears, sign in with your Azure account.
170+
1. In the Azure pane, under **Logic Apps (Standard)**, select **Sign in to Azure**. When the Visual Studio Code authentication page appears, sign in with your Azure account.
171171

172172
![Screenshot that shows Azure pane and selected link for Azure sign in.](./media/create-single-tenant-workflows-visual-studio-code/sign-in-azure-subscription.png)
173173

@@ -193,7 +193,7 @@ Before you can create your logic app, create a local project so that you can man
193193

194194
1. In Visual Studio Code, close all open folders.
195195

196-
1. In the Azure pane, next to **Azure: Logic Apps (Standard)**, select **Create New Project** (icon that shows a folder and lightning bolt).
196+
1. In the Azure pane, next to **Logic Apps (Standard)**, select **Create New Project** (icon that shows a folder and lightning bolt).
197197

198198
![Screenshot that shows Azure pane toolbar with "Create New Project" selected.](./media/create-single-tenant-workflows-visual-studio-code/create-new-project-folder.png)
199199

@@ -207,7 +207,7 @@ Before you can create your logic app, create a local project so that you can man
207207

208208
![Screenshot that shows the workflow templates list with "Stateful Workflow" selected.](./media/create-single-tenant-workflows-visual-studio-code/select-stateful-stateless-workflow.png)
209209

210-
1. Provide a name for your workflow and press Enter. This example uses `Fabrikam-Stateful-Workflow` as the name.
210+
1. Provide a name for your workflow and press Enter. This example uses **Fabrikam-Stateful-Workflow** as the name.
211211

212212
![Screenshot that shows the "Create new Stateful Workflow (3/4)" box and "Fabrikam-Stateful-Workflow" as the workflow name.](./media/create-single-tenant-workflows-visual-studio-code/name-your-workflow.png)
213213

@@ -275,7 +275,7 @@ The authoring capability is currently available only in Visual Studio Code, but
275275

276276
![Screenshot that shows Explorer pane with resource groups list and "Create new resource group" selected.](./media/create-single-tenant-workflows-visual-studio-code/create-select-resource-group.png)
277277

278-
1. Provide a name for the resource group, and press Enter. This example uses `Fabrikam-Workflows-RG`.
278+
1. Provide a name for the resource group, and press Enter. This example uses **Fabrikam-Workflows-RG**.
279279

280280
![Screenshot that shows Explorer pane and resource group name box.](./media/create-single-tenant-workflows-visual-studio-code/enter-name-for-resource-group.png)
281281

@@ -315,7 +315,7 @@ The workflow in this example uses this trigger and these actions:
315315

316316
1. Next to the designer, in the **Add a trigger** pane, under the **Choose an operation** search box, make sure that **Built-in** is selected so that you can select a trigger that runs natively.
317317

318-
1. In the **Choose an operation** search box, enter `when a http request`, and select the built-in Request trigger that's named **When an HTTP request is received**.
318+
1. In the **Choose an operation** search box, enter **when a http request**, and select the built-in Request trigger that's named **When an HTTP request is received**.
319319

320320
![Screenshot that shows the workflow designer and **Add a trigger** pane with "When an HTTP request is received" trigger selected.](./media/create-single-tenant-workflows-visual-studio-code/add-request-trigger.png)
321321

@@ -365,7 +365,7 @@ The workflow in this example uses this trigger and these actions:
365365
> [!TIP]
366366
> To prevent future prompts, select **Don't ask again for this extension**.
367367
368-
After Visual Studio Code creates your connection, some connectors show the message that `The connection will be valid for {n} days only`. This time limit applies only to the duration while you author your logic app in Visual Studio Code. After deployment, this limit no longer applies because your logic app can authenticate at runtime by using its automatically enabled [system-assigned managed identity](../logic-apps/create-managed-service-identity.md). This managed identity differs from the authentication credentials or connection string that you use when you create a connection. If you disable this system-assigned managed identity, connections won't work at runtime.
368+
After Visual Studio Code creates your connection, some connectors show the message that **The connection will be valid for {n} days only**. This time limit applies only to the duration while you author your logic app in Visual Studio Code. After deployment, this limit no longer applies because your logic app can authenticate at runtime by using its automatically enabled [system-assigned managed identity](../logic-apps/create-managed-service-identity.md). This managed identity differs from the authentication credentials or connection string that you use when you create a connection. If you disable this system-assigned managed identity, connections won't work at runtime.
369369

370370
1. On the designer, if the **Send an email** action doesn't appear selected, select that action.
371371

@@ -375,9 +375,9 @@ The workflow in this example uses this trigger and these actions:
375375

376376
| Property | Required | Value | Description |
377377
|----------|----------|-------|-------------|
378-
| **To** | Yes | <*your-email-address*> | The email recipient, which can be your email address for test purposes. This example uses the fictitious email, `[email protected]`. |
379-
| **Subject** | Yes | `An email from your example workflow` | The email subject |
380-
| **Body** | Yes | `Hello from your example workflow!` | The email body content |
378+
| **To** | Yes | <*your-email-address*> | The email recipient, which can be your email address for test purposes. This example uses the fictitious email, **[email protected]**. |
379+
| **Subject** | Yes | **An email from your example workflow** | The email subject |
380+
| **Body** | Yes | **Hello from your example workflow!** | The email body content |
381381
||||
382382

383383
> [!NOTE]
@@ -551,11 +551,11 @@ To test your logic app, follow these steps to start a debugging session, and fin
551551

552552
1. On the **Create New** pane, under **Building Blocks**, select **Request**.
553553

554-
1. In the **Save Request** window, under **Request name**, provide a name for the request, for example, `Test workflow trigger`.
554+
1. In the **Save Request** window, under **Request name**, provide a name for the request, for example, **Test workflow trigger**.
555555

556556
1. Under **Select a collection or folder to save to**, select **Create Collection**.
557557

558-
1. Under **All Collections**, provide a name for the collection to create for organizing your requests, press Enter, and select **Save to <*collection-name*>**. This example uses `Logic Apps requests` as the collection name.
558+
1. Under **All Collections**, provide a name for the collection to create for organizing your requests, press Enter, and select **Save to <*collection-name*>**. This example uses **Logic Apps requests** as the collection name.
559559

560560
In Postman, the request pane opens so that you can send a request to the callback URL for the Request trigger.
561561

@@ -603,7 +603,7 @@ To test your logic app, follow these steps to start a debugging session, and fin
603603
![Screenshot that shows each step in the workflow run and their status](./media/create-single-tenant-workflows-visual-studio-code/run-history-action-status.png)
604604

605605
> [!NOTE]
606-
> If a run failed and a step in monitoring view shows the `400 Bad Request` error, this problem might result
606+
> If a run failed and a step in monitoring view shows the **400 Bad Request** error, this problem might result
607607
> from a longer trigger name or action name that causes the underlying Uniform Resource Identifier (URI) to exceed
608608
> the default character limit. For more information, see ["400 Bad Request"](#400-bad-request).
609609
@@ -650,7 +650,7 @@ To return a response to the caller that sent a request to your logic app, you ca
650650

651651
The **Choose an operation** prompt appears on the designer, and the **Add an action** pane reopens so that you can select the next action.
652652

653-
1. On the **Add an action** pane, under the **Choose an action** search box, make sure that **Built-in** is selected. In the search box, enter `response`, and select the **Response** action.
653+
1. On the **Add an action** pane, under the **Choose an action** search box, make sure that **Built-in** is selected. In the search box, enter **response**, and select the **Response** action.
654654

655655
![Screenshot that shows the workflow designer with the Response action selected.](./media/create-single-tenant-workflows-visual-studio-code/add-response-action.png)
656656

@@ -747,19 +747,19 @@ To find the fully qualified domain names (FQDNs) for these connections, follow t
747747

748748
## Deploy to Azure
749749

750-
From Visual Studio Code, you can directly publish your project to Azure, which deploys your logic app using the **Logic App (Standard)** resource type. You can publish your logic app as a new resource, which automatically creates any necessary resources, such as an [Azure Storage account, similar to function app requirements](../azure-functions/storage-considerations.md). Or, you can publish your logic app to a previously deployed **Logic App (Standard)** resource, which overwrites that logic app.
750+
From Visual Studio Code, you can directly publish your project to Azure to deploy your Standard logic app. You can publish your logic app as a new resource, which automatically creates any necessary resources, such as an [Azure Storage account, similar to function app requirements](../azure-functions/storage-considerations.md). Or, you can publish your logic app to a previously deployed Standard logic app resource, which overwrites that logic app.
751751

752-
Deployment for the **Logic App (Standard)** resource type requires a hosting plan and pricing tier, which you select during deployment. For more information, review [Hosting plans and pricing tiers](logic-apps-pricing.md#standard-pricing).
752+
Deployment for the Standard logic app resource requires a hosting plan and pricing tier, which you select during deployment. For more information, review [Hosting plans and pricing tiers](logic-apps-pricing.md#standard-pricing).
753753

754754
<a name="publish-new-logic-app"></a>
755755

756-
### Publish to a new Logic App (Standard) resource
756+
### Publish to a new Standard logic app resource
757757

758758
1. On the Visual Studio Code Activity Bar, select the Azure icon.
759759

760-
1. On the **Azure: Logic Apps (Standard)** pane toolbar, select **Deploy to Logic App**.
760+
1. On the **Logic Apps (Standard)** pane toolbar, select **Deploy to Logic App**.
761761

762-
![Screenshot that shows the "Azure: Logic Apps (Standard)" pane and pane's toolbar with "Deploy to Logic App" selected.](./media/create-single-tenant-workflows-visual-studio-code/deploy-to-logic-app.png)
762+
![Screenshot that shows the pane "Logic Apps (Standard)" pane and pane's toolbar with "Deploy to Logic App" selected.](./media/create-single-tenant-workflows-visual-studio-code/deploy-to-logic-app.png)
763763

764764
1. If prompted, select the Azure subscription to use for your logic app deployment.
765765

@@ -771,17 +771,17 @@ Deployment for the **Logic App (Standard)** resource type requires a hosting pla
771771

772772
This example continues with **Create new Logic App (Standard) in Azure Advanced**.
773773

774-
![Screenshot that shows the "Azure: Logic Apps (Standard)" pane with a list with "Create new Logic App (Standard) in Azure" selected.](./media/create-single-tenant-workflows-visual-studio-code/select-create-logic-app-options.png)
774+
![Screenshot that shows the "Logic Apps (Standard)" pane and a list with "Create new Logic App (Standard) in Azure" selected.](./media/create-single-tenant-workflows-visual-studio-code/select-create-logic-app-options.png)
775775

776-
1. To create your new **Logic App (Standard)** resource, follow these steps:
776+
1. To create your new Standard logic app resource, follow these steps:
777777

778-
1. Provide a globally unique name for your new logic app, which is the name to use for the **Logic App (Standard)** resource. This example uses `Fabrikam-Workflows-App`.
778+
1. Provide a globally unique name for your new logic app, which is the name to use for the **Logic App (Standard)** resource. This example uses **Fabrikam-Workflows-App**.
779779

780-
![Screenshot that shows the "Azure: Logic Apps (Standard)" pane and a prompt to provide a name for the new logic app to create.](./media/create-single-tenant-workflows-visual-studio-code/enter-logic-app-name.png)
780+
![Screenshot that shows the "Logic Apps (Standard)" pane and a prompt to provide a name for the new logic app to create.](./media/create-single-tenant-workflows-visual-studio-code/enter-logic-app-name.png)
781781

782782
1. Select a hosting plan for your new logic app. Either create a name for your plan, or select an existing plan (Windows-based App Service plans only). This example selects **Create new App Service Plan**.
783783

784-
![Screenshot that shows the "Azure: Logic Apps (Standard)" pane and a prompt to "Create new App Service Plan" or select an existing App Service plan.](./media/create-single-tenant-workflows-visual-studio-code/create-app-service-plan.png)
784+
![Screenshot that shows the "Logic Apps (Standard)" pane and a prompt to "Create new App Service Plan" or select an existing App Service plan.](./media/create-single-tenant-workflows-visual-studio-code/create-app-service-plan.png)
785785

786786
1. Provide a name for your hosting plan, and then select a pricing tier for your selected plan.
787787

@@ -796,7 +796,7 @@ Deployment for the **Logic App (Standard)** resource type requires a hosting pla
796796
797797
1. For stateful workflows, select **Create new storage account** or an existing storage account.
798798

799-
![Screenshot that shows the "Azure: Logic Apps (Standard)" pane and a prompt to create or select a storage account.](./media/create-single-tenant-workflows-visual-studio-code/create-storage-account.png)
799+
![Screenshot that shows the "Logic Apps (Standard)" pane and a prompt to create or select a storage account.](./media/create-single-tenant-workflows-visual-studio-code/create-storage-account.png)
800800

801801
1. If your logic app's creation and deployment settings support using [Application Insights](../azure-monitor/app/app-insights-overview.md), you can optionally enable diagnostics logging and tracing for your logic app. You can do so either when you deploy your logic app from Visual Studio Code or after deployment. You need to have an Application Insights instance, but you can create this resource either [in advance](../azure-monitor/app/create-workspace-resource.md), when you deploy your logic app, or after deployment.
802802

@@ -857,7 +857,6 @@ Deployment for the **Logic App (Standard)** resource type requires a hosting pla
857857
| Information | Logs that track the general activity in your logic app or workflow, for example: <p><p>- When a trigger, action, or run starts and ends. <br>- When your logic app starts or ends. |
858858
| Trace | Logs that contain the most detailed messages, for example, storage requests or dispatcher activity, plus all the messages that are related to workflow execution activity. |
859859
| Warning | Logs that highlight an abnormal state in your logic app but doesn't prevent its running. |
860-
|||
861860

862861
To set the severity level, at your project's root level, open the **host.json** file, and find the `logging` object. This object controls the log filtering for all the workflows in your logic app and follows the [ASP.NET Core layout for log type filtering](/aspnet/core/fundamentals/logging/?view=aspnetcore-2.1&preserve-view=true#log-filtering).
863862

@@ -924,7 +923,7 @@ You can have multiple workflows in your logic app project. To add a blank workfl
924923

925924
1. On the Visual Studio Code Activity Bar, select the Azure icon.
926925

927-
1. In the Azure pane, next to **Azure: Logic Apps (Standard)**, select **Create Workflow** (icon for Azure Logic Apps).
926+
1. In the Azure pane, next to **Logic Apps (Standard)**, select **Create Workflow** (Azure Logic Apps icon).
928927

929928
1. Select the workflow type that you want to add: **Stateful** or **Stateless**
930929

@@ -938,7 +937,7 @@ When you're done, a new workflow folder appears in your project along with a **w
938937

939938
In Visual Studio Code, you can view all the deployed logic apps in your Azure subscription, whether they're Consumption or Standard logic app resources, and select tasks that help you manage those logic apps. However, to access both resource types, you need both the **Azure Logic Apps (Consumption)** and the **Azure Logic Apps (Standard)** extensions for Visual Studio Code.
940939

941-
1. On the left toolbar, select the Azure icon. In the **Azure: Logic Apps (Standard)** pane, expand your subscription, which shows all the deployed logic apps for that subscription.
940+
1. On the left toolbar, select the Azure icon. In the **Logic Apps (Standard)** pane, expand your subscription, which shows all the deployed logic apps for that subscription.
942941

943942
1. Open the logic app that you want to manage. From the logic app's shortcut menu, select the task that you want to perform.
944943

@@ -986,7 +985,7 @@ Stopping a logic app affects workflow instances in the following ways:
986985
To stop a trigger from firing on unprocessed items since the last run, clear the trigger state before you restart the logic app:
987986

988987
1. In Visual Studio Code, on the left toolbar, select the Azure icon.
989-
1. In the **Azure: Logic Apps (Standard)** pane, expand your subscription, which shows all the deployed logic apps for that subscription.
988+
1. In the **Logic Apps (Standard)** pane, expand your subscription, which shows all the deployed logic apps for that subscription.
990989
1. Expand your logic app, and then expand the node that's named **Workflows**.
991990
1. Open a workflow, and edit any part of that workflow's trigger.
992991
1. Save your changes. This step resets the trigger's current state.

0 commit comments

Comments
 (0)