Skip to content

Commit c43a587

Browse files
authored
Merge pull request #208070 from ecfan/schema
Azure Logic Apps: Freshness and refactor - connectors-schema-migration.md
2 parents 470e939 + 2a4182e commit c43a587

File tree

6 files changed

+52
-57
lines changed

6 files changed

+52
-57
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18308,6 +18308,11 @@
1830818308
"redirect_url": "/connectors/twilio",
1830918309
"redirect_document_id": false
1831018310
},
18311+
{
18312+
"source_path_from_root": "/articles/connectors/connectors-schema-migration.md",
18313+
"redirect_url": "/azure/logic-apps/update-consumption-workflow-schema",
18314+
"redirect_document_id": false
18315+
},
1831118316
{
1831218317
"source_path_from_root": "/articles/logic-apps/logic-apps-scenario-error-and-exception-handling.md",
1831318318
"redirect_url": "/azure/logic-apps/logic-apps-exception-handling",

articles/connectors/connectors-schema-migration.md

Lines changed: 0 additions & 55 deletions
This file was deleted.
Binary file not shown.
40.7 KB
Loading

articles/logic-apps/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,8 @@
384384
href: plan-manage-costs.md
385385
- name: Move logic app resources
386386
href: move-logic-app-resources.md
387-
- name: Migrate to latest schema
388-
href: ../connectors/connectors-schema-migration.md
387+
- name: Update schema for Consumption workflows
388+
href: update-consumption-workflow-schema.md
389389
- name: Test
390390
items:
391391
- name: Test logic apps with mock data
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: Update Consumption workflows to latest workflow schema
3+
description: Update Consumption logic app workflows to the latest Workflow Definition Language schema in Azure Logic Apps.
4+
services: logic-apps
5+
ms.suite: integration
6+
ms.reviewer: estfan, azla
7+
ms.topic: how-to
8+
ms.date: 08/15/2022
9+
---
10+
11+
# Update Consumption logic app workflows to latest Workflow Definition Language schema version in Azure Logic Apps
12+
13+
If you have a Consumption logic app workflow that uses an older Workflow Definition Language schema, you can update your workflow to use the newest schema. This capability applies only to Consumption logic app workflows.
14+
15+
## Best practices
16+
17+
The following list includes some best practices for updating your logic app workflows to the latest schema:
18+
19+
* Don't overwrite your original workflow until after you finish your testing and confirm that your updated workflow works as expected.
20+
21+
* Copy the updated script to a new logic app workflow.
22+
23+
* Test your workflow *before* you deploy to production.
24+
25+
* After you finish and confirm a successful migration, update your logic app workflows to use the latest [managed connectors for Azure Logic Apps](/connectors/connector-reference/connector-reference-logicapps-connectors) where possible. For example, replace older versions of the Dropbox connector with the latest version.
26+
27+
## Update workflow schema
28+
29+
When you select the option to update the schema, Azure Logic Apps automatically runs the migration steps and provides the code output for you. You can use this output to update your workflow definition. However, before you update your workflow definition using this output, make sure that you review and follow the best practices as described in the [Best practices](#best-practices) section.
30+
31+
1. In the [Azure portal](https://portal.azure.com), open your logic app resource.
32+
33+
1. On your logic app's navigation menu, select **Overview**. On the toolbar, select **Update Schema**.
34+
35+
> [!NOTE]
36+
>
37+
> If the **Update Schema** command is unavailable, your workflow already uses the current schema.
38+
39+
![Screenshot showing Azure portal, Consumption logic app resource with "Overview" pane open, and "Update Schema" selected.](./media/update-consumption-workflow-schema/update-schema.png)
40+
41+
The **Update Schema** pane opens to show a link to a document that describes the improvements in the new schema.
42+
43+
## Next steps
44+
45+
* [Review Workflow Definition Language schema updates - June 1, 2016](../logic-apps/logic-apps-schema-2016-04-01.md)

0 commit comments

Comments
 (0)