Skip to content

Commit 64d8e06

Browse files
Merge pull request #302399 from ecfan/functions
Expression functions: Rename file and fix links
2 parents 8e6724a + d173ca9 commit 64d8e06

10 files changed

+21
-17
lines changed

articles/logic-apps/.openpublishing.redirection.logic-apps.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"redirections": [
3+
{
4+
"source_path_from_root": "/articles/logic-apps/workflow-definition-language-functions-reference.md",
5+
"redirect_url": "/azure/logic-apps/expression-functions-reference",
6+
"redirect_document_id": true
7+
},
38
{
49
"source_path_from_root": "/articles/logic-apps/create-workflow-with-trigger-or-action.md",
510
"redirect_url": "/azure/logic-apps/add-trigger-action-workflow",

articles/logic-apps/connectors/sap-create-example-scenario-workflows.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ The SAP built-in trigger is a non-polling, Azure Functions-based trigger, not a
159159

160160
To receive IDoc packets, which are batches or groups of IDocs, the SAP trigger doesn't need extra configuration. However, to process each item in an IDoc packet after the trigger receives the packet, you have to implement a few more steps to split the packet into individual IDocs by setting up SAP to [send IDocs in packets](https://help.sap.com/viewer/8f3819b0c24149b5959ab31070b64058/7.4.16/4ab38886549a6d8ce10000000a42189c.html).
161161

162-
The following example workflow shows how to extract individual IDocs from a packet by using the [`xpath()` function](../workflow-definition-language-functions-reference.md#xpath):
162+
The following example workflow shows how to extract individual IDocs from a packet by using the [`xpath()` function](../expression-functions-reference.md#xpath):
163163

164164
1. Before you start, you need a Consumption or Standard logic app workflow with an SAP trigger. If your workflow doesn't already start with this trigger, follow the previous steps in this guide to [add the SAP trigger that can receive messages to your workflow](#receive-messages-sap).
165165

@@ -191,7 +191,7 @@ The following example workflow shows how to extract individual IDocs from a pack
191191

192192
1. In the action, select inside the **Value** edit box to show the options for the dynamic content list (lightning icon) and expression editor (function icon).
193193

194-
1. Select the function icon to open expression editor, and create the following expression using the [`xpath()` function](../workflow-definition-language-functions-reference.md#xpath):
194+
1. Select the function icon to open expression editor, and create the following expression using the [`xpath()` function](../expression-functions-reference.md#xpath):
195195

196196
`xpath(xml(triggerBody()?['Content']), 'namespace-uri(/*)')`
197197

@@ -778,7 +778,7 @@ When you connect to SAP from Azure Logic Apps, English is the default language u
778778

779779
When you send transactions to SAP from Azure Logic Apps, this exchange happens in two steps as described in the SAP document, [Transactional RFC Server Programs](https://help.sap.com/doc/saphelp_nwpi71/7.1/22/042ad7488911d189490000e829fbbd/content.htm?no_cache=true).
780780

781-
By default, the SAP managed connector action named [**Send message to SAP**](/connectors/sap/#send-message-to-sap) handles both the steps to transfer the function and confirm the transaction in a single call. You can also to decouple these steps. The capability to decouple the transfer and confirmation steps is useful for scenarios where you don't want to duplicate transactions in SAP. Such scenarios include failures that happen due to causes such as network issues.
781+
By default, the SAP managed connector action named [**Send message to SAP**](/connectors/sap/#send-message-to-sap) handles both the steps to transfer the function and confirm the transaction in a single call. You can also decouple these steps. The capability to decouple the transfer and confirmation steps is useful for scenarios where you don't want to duplicate transactions in SAP. Such scenarios include failures that happen due to causes such as network issues.
782782

783783
You can send an IDoc without automatically confirming the transaction using the SAP managed connector action named [**[IDOC] Send document to SAP**](/connectors/sap/#[idoc]-send-document-to-sap). You can then explicitly confirm the transaction using the SAP managed connector action named [**[IDOC - RFC] Confirm transaction Id**](/connectors/sap/#[idoc---rfc]-confirm-transaction-id). When your workflow separately confirms the transaction in a different step, the SAP system completes the transaction only once.
784784

File renamed without changes.

articles/logic-apps/logic-apps-control-flow-loops.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The **For each** action works only on arrays and repeats one or more actions on
5050

5151
* To get predictable results from operations on variables during each iteration, run the iterations sequentially. For example, when a concurrently running iteration ends, the **Increment variable**, **Decrement variable**, and **Append to variable** operations return predictable results. However, during each iteration in the concurrently running loop, these operations might return unpredictable results.
5252

53-
* Actions in a **For each** loop use the [`item()` function](../logic-apps/workflow-definition-language-functions-reference.md#item) to reference and process each item in the array. If you specify data that's not in an array, the workflow fails.
53+
* Actions in a **For each** loop use the [`item()` function](expression-functions-reference.md#item) to reference and process each item in the array. If you specify data that's not in an array, the workflow fails.
5454

5555
The following example workflow sends a daily summary for a website RSS feed. The workflow uses a **For each** action that sends an email for each new item.
5656

articles/logic-apps/logic-apps-create-variables-store-values.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ The following examples show other variable types:
249249

250250
## Get a variable's value
251251

252-
To retrieve or reference a variable's contents, you can use the [variables() function](workflow-definition-language-functions-reference.md#variables) in the workflow designer and the code view editor. When you reference a variable, use the variable's name as the token, not the action's name, which is the usual way to reference an action's outputs.
252+
To retrieve or reference a variable's contents, you can use the [`variables()` function](expression-functions-reference.md#variables) in the workflow designer and the code view editor. When you reference a variable, use the variable's name as the token, not the action's name, which is the usual way to reference an action's outputs.
253253

254254
For example, the following expression gets the items from the array variable [that's created in this guide](#append-value) by using the `variables()` function. The `string()` function returns the variable's contents in string format: `"1, 2, 3, red"`
255255

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For example, the Azure Logic Apps includes the following XML capabilities:
2323
| [Transform XML](logic-apps-enterprise-integration-transform.md) | Convert or customize an XML message based on your requirements or partner requirements by using maps. |
2424
| [Encode and decode flat files](logic-apps-enterprise-integration-flatfile.md) | Encode or decode a flat file. <br><br>For example, SAP accepts and sends IDOC files in flat file format. Many integration platforms create XML messages, including Azure Logic Apps. So, you can create a logic app workflow that uses the flat file encoder to convert XML into flat file format. |
2525
| [Validate XML](logic-apps-enterprise-integration-xml-validation.md) | Validate an inbound or outbound XML message against a specific schema. |
26-
| [XPath](workflow-definition-language-functions-reference.md#xpath) | Enrich a message and extract specific properties from the message. You can then use the extracted properties to route the message to a destination, or an intermediary endpoint. |
26+
| [XPath](expression-functions-reference.md#xpath) | Enrich a message and extract specific properties from the message. You can then use the extracted properties to route the message to a destination, or an intermediary endpoint. |
2727

2828
## Sample
2929

articles/logic-apps/logic-apps-examples-and-scenarios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Azure Logic Apps includes rich capabilities for advanced control flow, such as c
100100
You can access, convert, and transform multiple content types by using the many functions in the Azure Logic Apps [workflow definition language](logic-apps-workflow-definition-language.md). For example, you can convert between a string, JSON, and XML with the `@json()` and `@xml()` workflow expressions. Azure Logic Apps preserves content types to support content transfer in a lossless manner between services.
101101

102102
* [Handle content types in Azure Logic Apps](logic-apps-content-type.md), such as `application/`, `application/octet-stream`, and `multipart/formdata`
103-
* [Reference guide to using functions in expressions for Azure Logic Apps and Power Automate](workflow-definition-language-functions-reference.md)
103+
* [Reference guide for expression functions in Azure Logic Apps and Power Automate](expression-functions-reference.md)
104104
* [Workflow Definition Language schema for Azure Logic Apps](logic-apps-workflow-definition-language.md)
105105

106106
## Create custom APIs and connectors

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ With JSON, you can have literal values that exist at design time, for example:
174174
You can also have values that don't exist until run time. To represent these values, you can use *expressions*, which are evaluated at run time. An expression is a sequence that can contain one or more [functions](#functions),
175175
[operators](#operators), [variables](logic-apps-create-variables-store-values.md), explicit values, or constants. In your workflow definition, you can use an expression anywhere in a JSON string value by prefixing the expression with the at-sign (\@). When evaluating an expression that represents a JSON value, the expression body is extracted by removing the \@ character, and always results in another JSON value.
176176

177-
For example, for the previously defined `customerName` property, you can get the property value by using the [parameters()](workflow-definition-language-functions-reference.md#parameters)
178-
function in an expression and assign that value to the `accountName` property:
177+
For example, for the previously defined `customerName` property, you can get the property value by using the [**parameters()** function](expression-functions-reference.md#parameters) in an expression and assign that value to the `accountName` property:
179178

180179
```json
181180
"customerName": "Sophia Owen",
@@ -295,9 +294,9 @@ In [expressions](#expressions) and [functions](#functions), operators perform sp
295294

296295
## Functions
297296

298-
Some expressions get their values from runtime actions that might not yet exist when your workflow definition starts to run. To reference or work with these values in expressions, you can use [*functions*](../logic-apps/workflow-definition-language-functions-reference.md) that the Workflow Definition Language provides.
297+
Some expressions get their values from runtime actions that might not yet exist when your workflow definition starts to run. To reference or work with these values in expressions, you can use [*functions*](expression-functions-reference.md) that the Workflow Definition Language provides.
299298

300-
## Next steps
299+
## Related content
301300

302-
* Learn about [Workflow Definition Language actions and triggers](logic-apps-workflow-actions-triggers.md)
303-
* Learn about programmatically creating and managing logic apps with the [Workflow REST API](/rest/api/logic/workflows)
301+
* [Workflow Definition Language actions and triggers](logic-apps-workflow-actions-triggers.md)
302+
* [Workflow REST API](/rest/api/logic/workflows)

articles/logic-apps/support-non-unicode-character-encoding.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ If you set the `Content-Type` header to `application/octet-stream`, you also mig
5050

5151
## Base64 encode content
5252

53-
Before you [base64 encode](workflow-definition-language-functions-reference.md#base64) content to a string, make sure that you [convert the text to UTF-8](#convert-payload-encoding). Otherwise, characters might return corrupted.
53+
Before you [base64 encode](expression-functions-reference.md#base64) content to a string, make sure that you [convert the text to UTF-8](#convert-payload-encoding). Otherwise, characters might return corrupted.
5454

5555
Next, convert any .NET-supported encoding to another .NET-supported encoding. Review the [Azure Functions code example](#azure-functions-version) or the [.NET code example](#net-version):
5656

@@ -211,7 +211,7 @@ Example output:
211211

212212
If you need to send a non-Unicode payload from your workflow, do the steps for [converting the payload to UTF-8](#convert-payload-encoding) in reverse. Keep the text in UTF-8 as long as possible within your system. Next, use the same function to convert the base64-encoded UTF-8 characters to the required encoding. Then, apply base64 decoding to the text, and send your payload.
213213

214-
When you consume the return value from Azure Functions, make sure to use the [**base64ToBinary** function](workflow-definition-language-functions-reference.md#base64tobinary), not the **base64ToString** function.
214+
When you consume the return value from Azure Functions, make sure to use the [**base64ToBinary** function](expression-functions-reference.md#base64tobinary), not the **base64ToString** function.
215215

216216
## Convert payloads for AS2
217217

articles/logic-apps/toc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,8 @@ items:
567567
items:
568568
- name: Trigger and action types reference
569569
href: logic-apps-workflow-actions-triggers.md
570-
- name: Functions reference
571-
href: workflow-definition-language-functions-reference.md
570+
- name: Reference for expression functions
571+
href: expression-functions-reference.md
572572
- name: Standard Automated Test Framework
573573
items:
574574
- name: Standard Automated Test SDK

0 commit comments

Comments
 (0)