Skip to content

Commit 7fd5dfe

Browse files
authored
Merge pull request #209969 from ecfan/ia-link
Azure Logic Apps: Update flat file doc with integration account selection
2 parents 659e4dc + 40db24e commit 7fd5dfe

15 files changed

+220
-181
lines changed

articles/logic-apps/logic-apps-enterprise-integration-create-integration-account.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ For this task, you can use the Azure portal, [Azure CLI](/cli/azure/resource#az-
144144
--name integration_account_01 --location westus --sku name=Standard
145145
```
146146

147-
Your integration account name can contain only letters, numbers, hyphens (-), underscores (_), parentheses ((, )), and periods (.).
147+
Your integration account name can contain only letters, numbers, hyphens (-), underscores (_), parentheses (()), and periods (.).
148148

149149
To view a specific integration account, use the [az logic integration-account show](/cli/azure/logic/integration-account#az-logic-integration-account-show) command:
150150

@@ -234,7 +234,6 @@ Before you can link your integration account to a Standard logic app resource, y
234234
|----------|-------|
235235
| **Name** | **WORKFLOW_INTEGRATION_ACCOUNT_CALLBACK_URL** |
236236
| **Value** | <*integration-account-callback-URL*> |
237-
|||
238237

239238
1. When you're done, select **OK**. When you return to the **Configuration** pane, make sure to save your changes. On the **Configuration** pane toolbar, select **Save**.
240239

@@ -248,7 +247,6 @@ Before you can link your integration account to a Standard logic app resource, y
248247
|----------|-------|
249248
| **Name** | **WORKFLOW_INTEGRATION_ACCOUNT_CALLBACK_URL** |
250249
| **Value** | <*integration-account-callback-URL*> |
251-
|||
252250

253251
This example shows how a sample app setting might appear:
254252

@@ -417,7 +415,6 @@ If you want to link your logic app to another integration account, or no longer
417415
|----------|-------|
418416
| **Name** | **WORKFLOW_INTEGRATION_ACCOUNT_CALLBACK_URL** |
419417
| **Value** | <*integration-account-callback-URL*> |
420-
|||
421418

422419
1. When you're done, save your changes.
423420

articles/logic-apps/logic-apps-enterprise-integration-flatfile.md

Lines changed: 147 additions & 134 deletions
Large diffs are not rendered by default.

articles/logic-apps/logic-apps-enterprise-integration-liquid-transform.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.date: 08/15/2022
1414

1515
When you want to perform basic JSON transformations in your logic app workflows, you can use built-in data operations, such as the **Compose** action or **Parse JSON** action. However, some scenarios might require advanced and complex transformations that include elements such as iterations, control flows, and variables. For transformations between JSON to JSON, JSON to text, XML to JSON, or XML to text, you can create a template that describes the required mapping or transformation using the Liquid open-source template language. You can select this template when you add a **Liquid** built-in action to your workflow. You can use **Liquid** actions in multi-tenant Consumption logic app workflows and single-tenant Standard logic app workflows.
1616

17-
Although no **Liquid** triggers are available, you can use any trigger or action to get or feed the source JSON or XML content into your workflow for transformation. For example, you can use a built-in connector trigger, a managed or Azure-hosted connector trigger available for Azure Logic Apps, or even another app.
17+
While no **Liquid** triggers are available, you can use any trigger or action to feed the source JSON or XML content into your workflow. For example, you can use a built-in connector trigger, a managed or Azure-hosted connector trigger available for Azure Logic Apps, or even another app.
1818

1919
This article shows how to complete the following tasks:
2020

@@ -54,9 +54,7 @@ For more information, review the following documentation:
5454

5555
* If you already have an integration account with the artifacts that you need or want to use, you can link the integration account to multiple Standard logic app resources where you want to use the artifacts. That way, you don't have to upload maps to each individual logic app. For more information, review [Link your logic app resource to your integration account](logic-apps-enterprise-integration-create-integration-account.md?tabs=standard#link-account).
5656

57-
* Some Azure-hosted integration account connectors, such as **AS2**, **EDIFACT**, and **X12**, let you create a connection to your integration account. If you're just using these connectors, you don't need the link.
58-
59-
* The built-in connectors named **Liquid** and **Flat File** let you select maps and schemas that you previously uploaded to your logic app resource or to a linked integration account, but not both. You can then use these artifacts across all child workflows within the *same logic app resource*.
57+
* The **Liquid** built-in connector lets you select a map that you previously uploaded to your logic app resource or to a linked integration account, but not both. You can then use these artifacts across all child workflows within the *same logic app resource*.
6058

6159
So, if you don't have or need an integration account, you can use the upload option. Otherwise, you can use the linking option. Either way, you can use these artifacts across all child workflows within the same logic app resource.
6260

@@ -193,21 +191,23 @@ The following steps show how to add a Liquid transformation action for Consumpti
193191

194192
![Screenshot showing Consumption workflow, Liquid action's "Content" property, an open dynamic content list, and "Body" token selected.](./media/logic-apps-enterprise-integration-liquid-transform/select-body-consumption.png)
195193

196-
1. For the **Map** property, open the **Map** list, and select your Liquid template.
194+
1. From the **Map** list, select your Liquid template.
197195

198196
This example continues with the template named **JsonToJsonTemplate**.
199197

200198
![Screenshot showing Consumption workflow, Liquid action's "Map" property, and the selected template.](./media/logic-apps-enterprise-integration-liquid-transform/select-map-to-use-consumption.png)
201199

202200
> [!NOTE]
203201
>
204-
> If the maps list is empty, most likely your logic app resource isn't linked to your integration account.
205-
> Make sure to [link your logic app resource to the integration account that has the Liquid template or map](logic-apps-enterprise-integration-create-integration-account.md?tabs=consumption#link-account).
202+
> If the maps list is empty, either your logic app resource isn't linked to your
203+
> integration account or your integration account doesn't contain any map files.
206204
207205
When you're done, the action looks similar to the following example:
208206

209207
![Screenshot showing Consumption workflow with finished "Transform JSON to JSON" action.](./media/logic-apps-enterprise-integration-liquid-transform/finished-transform-action-consumption.png)
210208

209+
1. Save your workflow. On the designer toolbar, select **Save**.
210+
211211
### [Standard](#tab/standard)
212212

213213
1. In the [Azure portal](https://portal.azure.com), open your logic app workflow in the designer, if not already open.
@@ -236,6 +236,12 @@ The following steps show how to add a Liquid transformation action for Consumpti
236236

237237
![Screenshot showing Standard workflow, Liquid action's "Content" property with dynamic content list opened, and "Body" token selected.](./media/logic-apps-enterprise-integration-liquid-transform/select-body-standard.png)
238238

239+
> [!NOTE]
240+
>
241+
> If the **Body** property doesn't appear in the dynamic content list,
242+
> select **See more** next to the **When a HTTP request is received** section label.
243+
> You can also directly enter the content to decode in the **Content** box.
244+
239245
1. From the **Source** list, select either **LogicApp** or **IntegrationAccount** as your Liquid template source.
240246

241247
This example continues by selecting **IntegrationAccount**.
@@ -257,11 +263,13 @@ The following steps show how to add a Liquid transformation action for Consumpti
257263

258264
![Screenshot showing Standard workflow with finished "Transform JSON to JSON" action.](./media/logic-apps-enterprise-integration-liquid-transform/finished-transform-action-standard.png)
259265

266+
1. Save your workflow. On the designer toolbar, select **Save**.
267+
260268
---
261269

262270
## Test your workflow
263271

264-
1. By using [Postman](https://www.getpostman.com/postman) or a similar tool and the `POST` method, send a call to the Request trigger's URL and include the JSON input to transform, for example:
272+
1. By using [Postman](https://www.getpostman.com/postman) or a similar tool and the `POST` method, send a call to the Request trigger's URL, which appears in the Request trigger's **HTTP POST URL** property, and include the JSON input to transform, for example:
265273

266274
```json
267275
{

0 commit comments

Comments
 (0)