Skip to content

Commit e64c3a8

Browse files
author
ecfan
committed
Fixed per latest version
1 parent 1a6f870 commit e64c3a8

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

articles/logic-apps/create-maps-data-transformation-visual-studio-code.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ To specify a straightforward transformation between elements that have the same
134134

135135
1. On the mapper surface, in the **Source** pane, find the source element that you want to map.
136136

137-
- By default, parent elements are automatically expanded to show their children. You can't collapse parent elements.
137+
- By default, parent elements are automatically expanded to show their children.
138138

139139
- This example starts mapping from the source element, but you can choose to start mapping from the target element.
140140

@@ -312,8 +312,6 @@ In the following example, when the purchase quantity exceeds 20 items, the mappi
312312
| **Comparison** | **If** | Check whether the **Greater** function returns true. |
313313
| **Math** | **Multiply** | Calculate the discount by multiplying the item price by 10% and the item quantity. |
314314

315-
1. To view what happens in code while you create the mapping, in the mapper's upper right corner, select **View code**.
316-
317315
1. In the **Source** and **Destination** panes, find the elements to map in your scenario.
318316

319317
This example uses the following elements:
@@ -333,12 +331,14 @@ In the following example, when the purchase quantity exceeds 20 items, the mappi
333331

334332
:::image type="content" source="media/create-maps-data-transformation-visual-studio-code/condition-example-functions.png" alt-text="Screenshot shows mapper surface, data elements, and functions for example condition scenario.":::
335333

336-
1. To create the mappings, connect the source elements, functions, and target elements as your scenario requires.
334+
1. To view what happens in code while you create the mappings, in the mapper's upper right corner, select **View code**.
335+
336+
1. Connect the source elements, functions, and target elements in the specific order as your scenario requires.
337337

338338
This example connects the following items in the specified order to correctly create the mappings:
339339

340-
| Point 1 | Point 2 |
341-
|---------|---------|
340+
| Start | End |
341+
|-------|-----|
342342
| **ItemPrice** source element | **ItemPrice** target element |
343343
| **ItemQuantity** source element | **Greater** function's input on the shape's left edge. This input provides the data for the **Value 1** field in the function details. |
344344
| **Greater** function's output on the shape's right edge | **If** function's input on the shape's left edge. This input provides the data for the **Condition** field in the function details. |
@@ -356,15 +356,15 @@ In the following example, when the purchase quantity exceeds 20 items, the mappi
356356
|----------|-----------------------|
357357
| **Greater** | - **Value 1**: **ItemQuantity** source element <br>- **Value 2**: **20** as a custom value |
358358
| **Multiply** | - **Multiplicand 1**: **ItemPrice** source element <br>- **Multiplicand 2**: **.10** as a custom value |
359-
| **If** | - **Condition**: **is-greater-than(ItemQuantity, [object Object])** <br>- **Value**: **multiply(ItemPrice, [object Object])** |
359+
| **If** | - **Condition**: **is-greater-than(ItemQuantity, 20)** <br>- **Value**: **multiply(ItemPrice, .10**) |
360360

361361
The following map shows the finished example:
362362

363363
:::image type="content" source="media/create-maps-data-transformation-visual-studio-code/condition-example-complete.png" alt-text="Screenshot shows finished condition example.":::
364364

365365
The **Code** pane shows the mapping that you created:
366366

367-
:::image type="content" source="media/create-maps-data-transformation-visual-studio-code/condition-example-code-view.png" alt-text="Screenshot shows Code pane with conditional mapping between source and target elements using the functions, Greater, If, and Multiply.":::
367+
:::image type="content" source="media/create-maps-data-transformation-visual-studio-code/condition-example-code-view.png" alt-text="Screenshot shows Code pane with conditional mapping between source and target elements using the functions, Greater, Multiply, and If.":::
368368

369369
<a name="save-map"></a>
370370

7.77 KB
Loading
841 Bytes
Loading
-713 Bytes
Loading

0 commit comments

Comments
 (0)