Skip to content

Commit 3e3f546

Browse files
Merge pull request #302395 from ecfan/functions
Function examples - Fix uriComponentToBinary() and decodeDataUri()
2 parents ac2d8f1 + a479e83 commit 3e3f546

File tree

1 file changed

+11
-20
lines changed

1 file changed

+11
-20
lines changed

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

Lines changed: 11 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
---
2-
title: Reference guide for expression functions
3-
description: Reference guide to workflow expression functions for Azure Logic Apps and Power Automate.
2+
title: Reference for functions in workflow expressions
3+
description: Learn about expression functions for workflows in Azure Logic Apps and Power Automate.
44
services: logic-apps
55
ms.suite: integration
66
ms.reviewer: estfan, niding, azla
77
ms.topic: conceptual
8-
ms.date: 03/27/2025
8+
ms.date: 07/08/2025
99
---
1010

11-
# Reference guide to workflow expression functions in Azure Logic Apps and Power Automate
11+
# Reference guide to functions in expressions for workflows in Azure Logic Apps and Power Automate
1212

1313
[!INCLUDE [logic-apps-sku-consumption-standard](../../includes/logic-apps-sku-consumption-standard.md)]
1414

1515
For workflow definitions in [Azure Logic Apps](../logic-apps/logic-apps-overview.md) and [Power Automate](/power-automate/getting-started), some [expressions](logic-apps-workflow-definition-language.md#expressions) get their values from runtime actions that might not yet exist when your workflow starts running. To reference or process the values in these expressions, you can use *expression functions* provided by the [Workflow Definition Language](logic-apps-workflow-definition-language.md).
1616

1717
> [!NOTE]
1818
>
19-
> This reference page applies to both Azure Logic Apps and Power Automate, but appears in the
20-
> Azure Logic Apps documentation. Although this page refers specifically to logic app workflows,
21-
> these functions work for both flows and logic app workflows. For more information about functions
22-
> and expressions in Power Automate, review [Use expressions in conditions](/power-automate/use-expressions-in-conditions).
19+
> This reference guide applies to both Azure Logic Apps and Power Automate, but exists in the
20+
> Azure Logic Apps documentation. Although guide refers specifically to logic app workflows,
21+
> these functions work for both flows in Power Automate and workflows in Azure Logic Apps.
22+
> For more information about functions and expressions in Power Automate, see
23+
> [Use expressions in conditions](/power-automate/use-expressions-in-conditions).
2324
2425
For example, you can calculate values by using math functions, such as the [add()](../logic-apps/workflow-definition-language-functions-reference.md#add) function, when you want the sum from integers or floats. Here are other example tasks that you can perform with functions:
2526

@@ -1670,12 +1671,7 @@ This example returns the binary version for this data URI:
16701671
decodeDataUri('data:text/plain;charset=utf-8;base64,aGVsbG8=')
16711672
```
16721673

1673-
And returns this result:
1674-
1675-
`"01100100011000010111010001100001001110100111010001100101011110000111010000101111011100000
1676-
1101100011000010110100101101110001110110110001101101000011000010111001001110011011001010111
1677-
0100001111010111010101110100011001100010110100111000001110110110001001100001011100110110010
1678-
10011011000110100001011000110000101000111010101100111001101100010010001110011100000111101"`
1674+
And returns this result: `"hello"`
16791675

16801676
<a name="decodeUriComponent"></a>
16811677

@@ -4596,12 +4592,7 @@ This example creates the binary version for this URI-encoded string:
45964592
uriComponentToBinary('https%3A%2F%2Fcontoso.com')
45974593
```
45984594

4599-
And returns this result:
4600-
4601-
`"001000100110100001110100011101000111000000100101001100
4602-
11010000010010010100110010010001100010010100110010010001
4603-
10011000110110111101101110011101000110111101110011011011
4604-
110010111001100011011011110110110100100010"`
4595+
And returns this result: `"aHR0cHM6Ly9jb250b3NvLmNvbQ=="`
46054596

46064597
<a name="uriComponentToString"></a>
46074598

0 commit comments

Comments
 (0)