Skip to content

Commit af82d5a

Browse files
authored
Raising Acrolinx
1 parent e127808 commit af82d5a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ To use a Set Variable activity in a pipeline, complete the following steps:
2727

2828
2. Search for _Set Variable_ in the pipeline Activities pane, and drag a Set Variable activity to the pipeline canvas.
2929

30-
3. Select the Set Variable activity on the canvas if it is not already selected, and then click the **Settings** tab to edit its details.
30+
3. Select the Set Variable activity on the canvas if it isn't already selected, and then click the **Settings** tab to edit its details.
3131

3232
4. Select the variable for the Name property.
3333

@@ -43,7 +43,7 @@ To set a pipeline return value, complete the following steps:
4343

4444
1. Search for _Set Variable_ in the pipeline Activities pane, and drag a Set Variable activity to the pipeline canvas.
4545

46-
2. Select the Set Variable activity on the canvas if it is not already selected, and then click the **Settings** tab to edit its details.
46+
2. Select the Set Variable activity on the canvas if it isn't already selected, and then click the **Settings** tab to edit its details.
4747

4848
3. Select **Pipeline return value (preview)** for your **Variable type**.
4949

@@ -66,7 +66,7 @@ value | String literal or expression object value that the variable is assigned
6666

6767
## Incrementing a variable
6868

69-
A common scenario involving variables is to use a variable as an iterator within an **Until** or **ForEach** activity. In a **Set variable** activity, you cannot reference the variable being set in the `value` field. To work around this limitation, set a temporary variable and then create a second **Set variable** activity. The second **Set variable** activity sets the value of the iterator to the temporary variable.
69+
A common scenario involving variables is to use a variable as an iterator within an **Until** or **ForEach** activity. In a **Set variable** activity, you can't reference the variable being set in the `value` field. To work around this limitation, set a temporary variable and then create a second **Set variable** activity. The second **Set variable** activity sets the value of the iterator to the temporary variable.
7070

7171
Below is an example of this pattern:
7272

@@ -126,7 +126,7 @@ Below is an example of this pattern:
126126
}
127127
```
128128

129-
Variables are currently scoped at the pipeline level. This means that they are not thread safe and can cause unexpected and undesired behavior if they are accessed from within a parallel iteration activity such as a ForEach loop, especially when the value is also being modified within that foreach activity.
129+
Variables are currently scoped at the pipeline level. This means that they're not thread safe and can cause unexpected and undesired behavior if they are accessed from within a parallel iteration activity such as a ForEach loop, especially when the value is also being modified within that foreach activity.
130130

131131

132132
## Next steps

0 commit comments

Comments
 (0)