Skip to content

Commit b713250

Browse files
committed
Acrolinx
1 parent e1562a1 commit b713250

6 files changed

+49
-49
lines changed

articles/data-factory/control-flow-append-variable-activity.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ To use a Append Variable activity in a pipeline, complete the following steps:
2424
:::image type="content" source="media/control-flow-activities-common/add-pipeline-array-variable.png" alt-text="Shows an empty pipeline canvas with the Variables tab selected having an array type variable named TestVariable.":::
2525

2626
2. Search for _Append Variable_ in the pipeline Activities pane, and drag an Append Variable activity to the pipeline canvas.
27-
1. Select the Append Variable activity on the canvas if it is not already selected, and its **Variables** tab, to edit its details.
27+
1. Select the Append Variable activity on the canvas if it isn't already selected, and its **Variables** tab, to edit its details.
2828
1. Select the variable for the Name property.
29-
1. Enter an expression for the value, which will be appended to the array in the variable. This can be a literal string expression, or any combination of dynamic [expressions, functions](control-flow-expression-language-functions.md), [system variables](control-flow-system-variables.md), or [outputs from other activities](how-to-expression-language-functions.md#examples-of-using-parameters-in-expressions).
29+
1. Enter an expression for the value, which is appended to the array in the variable. This can be a literal string expression, or any combination of dynamic [expressions, functions](control-flow-expression-language-functions.md), [system variables](control-flow-system-variables.md), or [outputs from other activities](how-to-expression-language-functions.md#examples-of-using-parameters-in-expressions).
3030

3131
:::image type="content" source="media/control-flow-append-variable-activity/append-variable.png" alt-text="Shows the UI for an Append Variable activity.":::
3232

@@ -41,7 +41,7 @@ Name | Name of the activity in pipeline | Yes
4141
Description | Text describing what the activity does | No
4242
Type | Activity Type is AppendVariable | Yes
4343
Value | String literal or expression object value used to append into specified variable | Yes
44-
VariableName | Name of the variable that will be modified by activity, the variable must be of type ‘Array’ | Yes
44+
VariableName | Name of the variable to be modified by activity, the variable must be of type ‘Array’ | Yes
4545

4646
## Related content
4747
Learn about a related control flow activity:

articles/data-factory/control-flow-fail-activity.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ You might occasionally want to throw an error in a pipeline intentionally. A [Lo
2121
To use a Fail activity in a pipeline, complete the following steps:
2222

2323
1. Search for _Fail_ in the pipeline Activities pane, and drag a Fail activity to the pipeline canvas.
24-
1. Select the new Fail activity on the canvas if it is not already selected, and its **Settings** tab, to edit its details.
24+
1. Select the new Fail activity on the canvas if it isn't already selected, and its **Settings** tab, to edit its details.
2525

2626
:::image type="content" source="media/control-flow-fail-activity/fail-activity.png" alt-text="Shows the UI for a Fail activity.":::
2727

28-
1. Enter a failure message and error code. These can be literal string expressions, or any combination of dynamic [expressions, functions](control-flow-expression-language-functions.md), [system variables](control-flow-system-variables.md), or [outputs from other activities](how-to-expression-language-functions.md#examples-of-using-parameters-in-expressions).
28+
1. Enter a failure message and error code. These values can be literal string expressions, or any combination of dynamic [expressions, functions](control-flow-expression-language-functions.md), [system variables](control-flow-system-variables.md), or [outputs from other activities](how-to-expression-language-functions.md#examples-of-using-parameters-in-expressions).
2929

3030
## Syntax
3131

@@ -47,25 +47,25 @@ To use a Fail activity in a pipeline, complete the following steps:
4747
| --- | --- | --- | --- |
4848
| name | The name of the Fail activity. | String | Yes |
4949
| type | Must be set to **Fail**. | String | Yes |
50-
| message | The error message that surfaced in the Fail activity. It can be dynamic content that's evaluated at runtime. | String | Yes |
51-
| errorCode | The error code that categorizes the error type of the Fail activity. It can be dynamic content that's evaluated at runtime. | String | Yes |
50+
| message | The error message that surfaced in the Fail activity. It can be dynamic content to be evaluated at runtime. | String | Yes |
51+
| errorCode | The error code that categorizes the error type of the Fail activity. It can be dynamic content to be evaluated at runtime. | String | Yes |
5252
| | |
5353

5454
## Understand the Fail activity error code
5555

56-
The error message and error code of a Fail activity are ordinarily set by users. To understand the specific meanings of the error codes, contact the pipeline developer. However, in the following edge cases, Azure Data Factory sets the error message and/or error code.
56+
Pipeline authors ordinarily set the error message and error code of the Fail activity. To understand the specific meanings of the error codes, contact the pipeline developer. However, in the following edge cases, Azure Data Factory sets the error message and/or error code.
5757

5858
| Situation description | Error message | Error code |
5959
| --- | --- | --- |
60-
The (dynamic) content in `message` and `errorCode` is interpreted correctly. | The error message that's set by the user | The error code that's set by the user |
60+
The (dynamic) content in `message` and `errorCode` is interpreted correctly. | The error message set by the user | The error code set by the user |
6161
The dynamic content in both `message` and `errorCode` can't be interpreted. | "Failed to interpret _<activity_name>_ fail message or error code" | `ErrorCodeNotString` |
62-
| The dynamic content in `message` can't be interpreted as a string. | "_<activity_name>_ fail message parameter could not be interpreted as a string" | The error code that's set by the user |
63-
| The dynamic content in `message` resolves to null, an empty string, or white spaces. | "Failed to interpret _<activity_name>_ fail message or error code" | The error code that's set by the user |
64-
| The dynamic content in `errorCode` can't be interpreted as a string. | The error message that's set by the user | `ErrorCodeNotString` |
65-
| The dynamic content in `errorCode` resolves to null, an empty string, or white spaces. | The error message that's set by the user | `ErrorCodeNotString` |
62+
| The dynamic content in `message` can't be interpreted as a string. | "_<activity_name>_ fail message parameter couldn't be interpreted as a string" | The error code set by the user |
63+
| The dynamic content in `message` resolves to null, an empty string, or white spaces. | "Failed to interpret _<activity_name>_ fail message or error code" | The error code set by the user |
64+
| The dynamic content in `errorCode` can't be interpreted as a string. | The error message set by the user | `ErrorCodeNotString` |
65+
| The dynamic content in `errorCode` resolves to null, an empty string, or white spaces. | The error message set by the user | `ErrorCodeNotString` |
6666
| The value for `message` or `errorCode` that's provided by the user isn't string-able.* | Pipeline _fails_ with: "Invalid value for property <`errorCode`/`message`>" | |
67-
| The `message` field is missing.* | "Fail message was not provided" | The error code that's set by the user |
68-
| The `errorCode` field is missing.* | The error message that's set by the user | `ErrorCodeNotString` |
67+
| The `message` field is missing.* | "Fail message wasn't provided" | The error code set by the user |
68+
| The `errorCode` field is missing.* | The error message set by the user | `ErrorCodeNotString` |
6969
| | |
7070

7171
\* This situation shouldn't occur if the pipeline is developed with the web user interface (UI) of Data Factory.

articles/data-factory/control-flow-switch-activity.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ The Switch activity provides the same functionality that a switch statement prov
2020

2121
To use a Switch activity in a pipeline, complete the following steps:
2222
1. Search for _Switch_ in the pipeline Activities pane, and add a Switch activity to the pipeline canvas.
23-
1. Select the Switch activity on the canvas if it is not already selected, and its **Activities** tab, to edit its details.
23+
1. Select the Switch activity on the canvas if it isn't already selected, and its **Activities** tab, to edit its details.
2424
1. Enter an expression for the Switch to evaluate. This can be any combination of dynamic [expressions, functions](control-flow-expression-language-functions.md), [system variables](control-flow-system-variables.md), or [outputs from other activities](how-to-expression-language-functions.md#examples-of-using-parameters-in-expressions).
25-
1. Select **Add case** to add additional cases. If no case matches, the Default case activity will be used.
25+
1. Select **Add case** to add more cases. If no case matches, the Default case activity is used.
2626
1. Enter the value for the new case.
27-
1. Select the Edit button to add activities that will be executed when the expression evaluates to the matched case.
27+
1. Select the Edit button to add activities that are executed when the expression evaluates to the matched case.
2828

2929
:::image type="content" source="media/control-flow-switch-activity/switch-activity-ui.png" alt-text="Shows the UI for a Switch activity with numbered indications of each step to configure it.":::
3030

@@ -83,7 +83,7 @@ defaultActivities | Set of activities that are executed when the expression eval
8383

8484
## Example
8585

86-
The pipeline in this example copies data from an input folder to an output folder. The output folder is determined by the value of pipeline parameter: routeSelection.
86+
The pipeline in this example copies data from an input folder to an output folder. The pipeline parameter **routeSelection** determines the output folder.
8787

8888
> [!NOTE]
8989
> This section provides JSON definitions and sample PowerShell commands to run the pipeline. For a walkthrough with step-by-step instructions to create a Data Factory pipeline by using Azure PowerShell and JSON definitions, see [tutorial: create a data factory by using Azure PowerShell](quickstart-create-data-factory-powershell.md).
@@ -294,7 +294,7 @@ The pipeline sets the **folderPath** to the value of either **outputPath1** or *
294294

295295
[!INCLUDE [updated-for-az](~/reusable-content/ce-skilling/azure/includes/updated-for-az.md)]
296296

297-
These commands assume that you've saved the JSON files into the folder: C:\ADF.
297+
These commands assume you saved the JSON files into the folder: C:\ADF.
298298

299299
```powershell
300300
Connect-AzAccount

articles/data-factory/control-flow-validation-activity.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ ms.date: 09/26/2024
1414
# Validation activity in Azure Data Factory and Synapse Analytics pipelines
1515
[!INCLUDE[appliesto-adf-asa-md](includes/appliesto-adf-asa-md.md)]
1616

17-
You can use a Validation in a pipeline to ensure the pipeline only continues execution once it has validated the attached dataset reference exists, that it meets the specified criteria, or timeout has been reached.
17+
You can use a Validation in a pipeline to ensure the pipeline only continues execution once it validates the attached dataset reference exists, that it meets the specified criteria, or times out.
1818

1919
## Create a Validation activity with UI
2020

2121
To use a Validation activity in a pipeline, complete the following steps:
2222

2323
1. Search for _Validation_ in the pipeline Activities pane, and drag a Validation activity to the pipeline canvas.
24-
1. Select the new Validation activity on the canvas if it is not already selected, and its **Settings** tab, to edit its details.
24+
1. Select the new Validation activity on the canvas if it isn't already selected, and its **Settings** tab, to edit its details.
2525
:::image type="content" source="media/control-flow-validation-activity/validation-activity.png" alt-text="Screenshot shows the UI for a Validation activity.":::
2626
1. Select a dataset, or define a new one by selecting the New button. For file based datasets like the delimited text example above, you can select either a specific file, or a folder. When a folder is selected, the Validation activity allows you to ignore validation of the existence of child items in the folder, or require whether child items exist or not.
2727
1. The output of the Validation activity can be used as an input to any other activities, and referenced within those activities for any of their properties using dynamic expressions.
@@ -65,10 +65,10 @@ To use a Validation activity in a pipeline, complete the following steps:
6565
|-------- | ----------- | -------------- | --------|
6666
|name | Name of the 'Validation' activity | String | Yes |
6767
|type | Must be set to **Validation**. | String | Yes |
68-
|dataset | Activity will block execution until it has validated this dataset reference exists and that it meets the specified criteria, or timeout has been reached. Dataset provided should support "MinimumSize" or "ChildItems" property. | Dataset reference | Yes |
68+
|dataset | Activity blocks execution until it has validated this dataset reference exists and that it meets the specified criteria, or timeout has been reached. Dataset provided should support "MinimumSize" or "ChildItems" property. | Dataset reference | Yes |
6969
|timeout | Specifies the timeout for the activity to run. If no value is specified, default value is 12 hours ("0.12:00:00"). Format is d.hh:mm:ss | String | No |
7070
|sleep | A delay in seconds between validation attempts. If no value is specified, default value is 10 seconds. | Integer | No |
71-
|childItems | Checks if the folder has child items. Can be set to-true : Validate that the folder exists and that it has items. Blocks until at least one item is present in the folder or timeout value is reached.-false: Validate that the folder exists and that it is empty. Blocks until folder is empty or until timeout value is reached. If no value is specified, activity will block until the folder exists or until timeout is reached. | Boolean | No |
71+
|childItems | Checks if the folder has child items.<br/>**true**: Validates the folder exists and has items. Blocks until at least one item is present in the folder or timeout value is reached.<br/>**false**: Validates the folder exists and is empty. Blocks until folder is empty or until timeout value is reached. If no value is specified, activity will block until the folder exists or until timeout is reached. | Boolean | No |
7272
|minimumSize | Minimum size of a file in bytes. If no value is specified, default value is 0 bytes | Integer | No |
7373

7474

0 commit comments

Comments
 (0)