Skip to content

Commit 3242677

Browse files
spagarwaSyntaxC4
authored andcommitted
update PR
1 parent 6d7263b commit 3242677

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

articles/data-factory/control-flow-expression-language-functions.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,14 @@ Expressions can appear anywhere in a JSON string value and always result in anot
5757
|"Answer is: @{pipeline().parameters.myNumber}"| Returns the string `Answer is: 42`.|
5858
|"\@concat('Answer is: ', string(pipeline().parameters.myNumber))"| Returns the string `Answer is: 42`|
5959
|"Answer is: \@\@{pipeline().parameters.myNumber}"| Returns the string `Answer is: @{pipeline().parameters.myNumber}`.|
60-
61-
> [!NOTE]
62-
> A complex example of how the parameters can be used is this, here to be able to use pipeline parameters in dot operator, '[]' is required.
63-
@activity('{activityName}').output.{Param1}.{Param2}[pipeline().parameters.Param3].{Param4}
6460

6561
## Examples
6662

63+
### Complex expression example
64+
The below example shows a complex example that references a deep sub-field of activity output. To reference a pipeline parameter that evaluates to a sub-field, use [] syntax instead of dot(.) operator (as in case of subfield1 and subfield2)
65+
66+
@activity('{activityName}').output.{subfield1}.{subfield2}[pipeline().parameters.subfield3].{subfield4}
67+
6768
### A dataset with a parameter
6869
In the following example, the BlobDataset takes a parameter named **path**. Its value is used to set a value for the **folderPath** property by using the expression: `dataset().path`.
6970

0 commit comments

Comments
 (0)