Skip to content

Commit 7c0093b

Browse files
committed
Clarity edits per feedback
1 parent 3a5932e commit 7c0093b

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

articles/logic-apps/workflow-definition-language-functions-reference.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,11 @@ To work with conditions, compare values and expression results, or evaluate vari
143143
To change a value's type or format, you can use these conversion functions. For example, you can change a value from a Boolean to an integer. For more information about how Logic Apps handles content types during conversion, see [Handle content types](../logic-apps/logic-apps-content-type.md). For the full reference about each function, see the [alphabetical list](../logic-apps/workflow-definition-language-functions-reference.md#alphabetical-list).
144144

145145
> [!IMPORTANT]
146-
> The Logic Apps service automatically or implicitly converts values between specific data types,
147-
> which means that you don't have to manually or explicitly convert those values by using the
148-
> corresponding functions. If you use these functions in the designer or code view, Logic Apps
149-
> removes those functions after you save your logic app because the conversion happens automatically.
150-
> For more information, see [Implicit data type conversions](#implicit-data-conversions).
146+
> The Logic Apps service automatically converts values between specific data types, which means
147+
> that you don't have to manually convert between those types by using the relevant expressions.
148+
> If you use these expressions in the designer or code view, Logic Apps removes those expressions
149+
> after you save your logic app because these conversions happen automatically. For more information,
150+
> see [Implicit data type conversions](#implicit-data-conversions).
151151
152152
| Conversion function | Task |
153153
| ------------------- | ---- |
@@ -179,19 +179,19 @@ To change a value's type or format, you can use these conversion functions. For
179179

180180
## Implicit data type conversions
181181

182-
The Logic Apps service automatically or implicitly converts values between specific data types, which means that you don't have to manually or explicitly convert those values by using the corresponding functions. If you use these functions in the designer or code view, Logic Apps removes those functions after you save your logic app because the conversion happens automatically.
182+
The Logic Apps service automatically or implicitly converts values between specific data types, which means that you don't need to manually or explicitly convert between those types by using the relevant expressions. Actually, if you use these expressions in the designer or code view, Logic Apps removes the expressions after you save your logic app because the conversions happen automatically.
183183

184-
This table describes the conversions that Logic Apps implicitly makes:
184+
This table describes the data type conversions that Logic Apps automatically makes and the expressions that you'd typically use when manually performing these conversions but should omit:
185185

186-
| Data conversion <br>(To > From) | Byte | Binary or File | DataUri | Other |
187-
|---------------------------------|------|----------------|---------|-------|
188-
| **Byte** | Not applicable | `base64(<value>)` | `base64(decodeDataUri(<value>))` | `base64(<value>)` |
189-
| **Binary or File** | `base64ToBinary(<value>)` | Not applicable | `decodeDataUri(<value>)` | Not applicable |
190-
| **DataUri** | `concat('data:;base64,', <value>)` | `concat('data:;base64,', base64(<value>))` | Not applicable | `concat('data:,', encodeUriComponent(<value>))` |
191-
| **Other** | `base64ToString(<value>)` | Not applicable | `decodeDataUri(<value>)` | `Not applicable` |
192-
||||||
186+
| From | To |
187+
|------|----|
188+
| **Binary** | - **Binary** or **File**: `base64ToBinary(<value>)` <br>- **DataUri**: `concat('data:;base64,',<value>)` <br>- **Other**: `base64ToString(<value>)` |
189+
| **Byte** | - **Binary** or **File**: `base64ToBinary(<value>)` <br>- **DataUri**: `concat('data:;base64,',<value>)` <br>- **Other**: `base64ToString(<value>)` |
190+
| **DataUri** | - **Binary** or **File**: `decodeDataUri(<value>)` <br>- **Byte**: `base64(decodeDataUri(<value>))` <br>- **Other**: `decodeDataUri(<value>)` |
191+
| **Other** | - **Byte**: `base64(<value>)` <br>- **DataUri**: `concat('data:,', encodeUriComponent(<value>))` |
192+
|||
193193

194-
Logic Apps also implicitly converts non-string values into strings when these values are used where strings are expected. For example:
194+
If you use non-string values where strings are expected as inputs, Logic Apps implicitly converts the non-string values into strings, for example:
195195

196196
* A trigger returns a numerical value as output through this expression:
197197

0 commit comments

Comments
 (0)