Skip to content

Commit eb14f1f

Browse files
committed
Updates for flat files
1 parent 199e0bf commit eb14f1f

7 files changed

+43
-29
lines changed

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

Lines changed: 37 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@ If you're working on a Standard logic app workflow, you can [upload your schema
121121

122122
1. On the workflow designer, under the step where you want to add the Flat File action, select **New step**.
123123

124-
1. Under the **Choose an operation** search box, select **All**. In the search box, enter **flat file**.
124+
1. Under the **Choose an operation** search box, select **Built-in**. In the search box, enter **flat file**.
125125

126126
1. From the actions list, select the action named **Flat File Encoding**.
127127

128-
![Screenshot showing Azure portal and Consumption workflow designer with `flat file` in search box and `Flat File Encoding` action selected.](./media/logic-apps-enterprise-integration-flatfile/flat-file-encoding-consumption.png)
128+
![Screenshot showing Azure portal and Consumption workflow designer with "flat file" in search box and "Flat File Encoding" action selected.](./media/logic-apps-enterprise-integration-flatfile/flat-file-encoding-consumption.png)
129129

130130
1. In the action's **Content** property, provide the output from the trigger or a previous action that you want to encoding by following these steps:
131131

@@ -137,67 +137,75 @@ If you're working on a Standard logic app workflow, you can [upload your schema
137137

138138
![Screenshot showing the Consumption designer and the "Content" property with dynamic content list and content selected for encoding.](./media/logic-apps-enterprise-integration-flatfile/select-content-to-encode-consumption.png)
139139

140-
> [!TIP]
140+
> [!NOTE]
141+
>
141142
> If the **Body** property doesn't appear in the dynamic content list,
142143
> select **See more** next to the **When a HTTP request is received** section label.
143-
> You can also directly enter the content to decode in the **Content** box.
144+
> You can also directly enter the content to encode in the **Content** box.
144145
145146
1. From the **Schema Name** list, select your schema.
146147

147-
![Screenshot showing the Consumption designer and the opened "Schema Name" list with selected schema to use for encoding.](./media/logic-apps-enterprise-integration-flatfile/select-encoding-schema-consumption.png)
148+
![Screenshot showing Consumption workflow designer and the opened "Schema Name" list with selected schema for encoding.](./media/logic-apps-enterprise-integration-flatfile/select-encoding-schema-consumption.png)
148149

149150
> [!NOTE]
150151
>
151152
> If the schema list is empty, either your logic app resource isn't linked to your
152153
> integration account or your integration account doesn't contain any schema files.
153154
155+
When you're done, your action looks similar to the following:
156+
157+
![Screenshot showing Consumption workflow with finished "Flat File Encoding" action.](./media/logic-apps-enterprise-integration-flatfile/finished-flat-file-encoding-action-consumption.png)
158+
159+
1. To add other optional parameters to the action, select those parameters from the **Add new parameter** list.
160+
161+
| Parameter | Value | Description |
162+
|-----------|-------|-------------|
163+
| **Mode of empty node generation** | **ForcedDisabled**, **HonorSchemaNodeProperty**, **ForcedEnabled** | The mode to use for empty node generation in flat file encoding |
164+
| **XML Normalization** | **Yes**, **No** | The setting to enable or disable XML normalization in flat file encoding |
165+
154166
1. Save your workflow. On the designer toolbar, select **Save**.
155167

156168
### [Standard](#tab/standard)
157169

158-
1. In the [Azure portal](https://portal.azure.com), open your logic app workflow in the designer.
159-
160-
1. If you have a blank workflow that doesn't have a trigger, add any trigger you want. Otherwise, continue to the next step.
170+
1. In the [Azure portal](https://portal.azure.com), open your logic app workflow in the designer, if not already open.
161171

162-
This example uses the Request trigger, which is named **When a HTTP request is received**, and handles inbound requests from outside the logic app workflow. To add the Request trigger, follow these steps:
172+
1. If your workflow doesn't have a trigger or any other actions that your workflow needs, add those operations first. Flat File operations don't have any triggers available.
163173

164-
1. On the designer, select **Choose an operation**. In the **Choose an operation** pane that opens, under the search box, select **Built-in**.
174+
This example continues with the Request trigger named **When a HTTP request is received**.
165175

166-
1. In the search box, enter `HTTP request`. From the triggers list, select the Request trigger named **When an HTTP request is received**.
176+
1. On the designer, under the step where you want to add the Flat File action, select the plus sign (**+**), and then select **Add an action**.
167177

168-
> [!TIP]
169-
> Providing a JSON schema is optional. If you have a sample payload from the inbound request,
170-
> select **Use sample payload to generate schema**, enter the sample payload, and select **Done**.
171-
> The schema appears in the **Request Body JSON Schema** box.
178+
1. On the **Add an action** pane that appears, under the search box, select **Built-in**.
172179

173-
1. Under the step in your workflow where you want to add the **Flat File Encoding** action, choose an option:
180+
1. In the search box, enter **flat file**. From the actions list, select the action named **Flat File Encoding**.
174181

175-
* To add the **Flat File Encoding** action at the end of your workflow, select the plus sign (**+**), and then select **Add an action**.
182+
![Screenshot showing Azure portal and Standard workflow designer with "flat file" in search box and the "Flat File Encoding" action selected.](./media/logic-apps-enterprise-integration-flatfile/flat-file-encoding-standard.png)
176183

177-
* To add the **Flat File Encoding** action between existing steps, select the plus sign (**+**) that appears between those steps, and then select **Insert a new step**.
184+
1. In the action's **Content** property, provide the output from the trigger or a previous action that you want to encoding by following these steps:
178185

179-
1. In the **Choose an operation** pane that opens, under the search box, select **Built-in**.
186+
1. Click inside the **Content** box so that the dynamic content list appears.
180187

181-
1. In the search box, enter `flat file`. From the actions list, select the action named **Flat File Encoding**.
188+
1. From the dynamic content list, select the flat file content that you want to encode.
189+
190+
For this example, from the dynamic content list, under **When a HTTP request is received**, select the **Body** token, which represents the body content output from the trigger.
182191

183-
![Screenshot showing the Azure portal and Standard workflow designer with "flat file" in search box and the "Flat File Encoding" action selected.](./media/logic-apps-enterprise-integration-flatfile/flat-file-encoding-standard.png)
192+
![Screenshot showing Standard workflow designer and the "Content" property with dynamic content list and content selected for encoding.](./media/logic-apps-enterprise-integration-flatfile/select-content-to-encode-standard.png)
184193

185-
1. Click inside the **Content** box so that the dynamic content list appears. From the list, in the **When a HTTP request is received** section, select the **Body** property, which contains the request body output from the trigger and the content to encode.
194+
1. From the **Source** list, select either **LogicApp** or **IntegrationAccount** as your schema source.
186195

187-
![Screenshot showing the Standard workflow designer and the "Content" property with dynamic content list and content selected for encoding.](./media/logic-apps-enterprise-integration-flatfile/select-content-to-encode-standard.png)
196+
This example continues by selecting **IntegrationAccount**.
188197

189-
> [!TIP]
190-
> If the **Body** property doesn't appear in the dynamic content list,
191-
> select **See more** next to the **When a HTTP request is received** section label.
192-
> You can also directly enter the content to encode in the **Content** box.
198+
![Screenshot showing Standard workflow with "Source" property and "IntegrationAccount" selected.](./media/logic-apps-enterprise-integration-flatfile/select-logic-app-integration-account.png)
193199

194200
1. From the **Name** list, select the schema that you previously uploaded to your logic app resource for encoding, for example:
195201

196202
![Screenshot showing the Standard workflow designer and the opened "Name" list with selected schema to use for encoding.](./media/logic-apps-enterprise-integration-flatfile/select-encoding-schema-standard.png)
197203

198204
> [!NOTE]
199-
> If no schema appears in the list, your Standard logic app resource doesn't contain any schema files to use for encoding.
200-
> Learn how to [upload the schemma that you want to use to your Standard logic app resource](logic-apps-enterprise-integration-schemas.md).
205+
>
206+
> If the schema list is empty, either your logic app resource isn't linked to your
207+
> integration account, your integration account doesn't contain any schema files,
208+
> or your logic app resource doesn't contain any schema files.
201209
202210
1. Save your workflow. On the designer toolbar, select **Save**.
203211

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,12 @@ The following steps show how to add a Liquid transformation action for Consumpti
238238

239239
![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)
240240

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

243249
This example continues by selecting **IntegrationAccount**.
Loading
-5.71 KB
Loading
1.66 KB
Loading
1.22 KB
Loading
24.9 KB
Loading

0 commit comments

Comments
 (0)