Skip to content

Commit 497ca88

Browse files
Freshness.
1 parent 1129e69 commit 497ca88

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

articles/logic-apps/logic-apps-control-flow-run-steps-group-scopes.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ First, create this sample logic app so that you can add a scope later:
4646

4747
You can save your logic app at any time, so save your work often.
4848

49-
1. Sign in to the <a href="https://portal.azure.com" target="_blank">Azure portal</a>, if you haven't already. Create a blank logic app.
49+
1. Sign in to the <a href="https://portal.azure.com" target="_blank">Azure portal</a>. Create a blank logic app.
5050

51-
1. Add the **Schedule - Recurrence** trigger with these settings: **Interval** = "1" and **Frequency** = "Minute"
51+
1. Add the **Schedule - Recurrence** trigger with these settings: **Interval** = **1** and **Frequency** = **Minute**.
5252

5353
:::image type="content" source="./media/logic-apps-control-flow-run-steps-group-scopes/recurrence.png" alt-text="Screenshot shows a Schedule - Recurrence trigger.":::
5454

@@ -76,17 +76,17 @@ You can save your logic app at any time, so save your work often.
7676
| **Waypoint 1** | <*start*> | Enter your route's origin. |
7777
| **Waypoint 2** | <*end*> | Enter your route's destination. |
7878
| **Avoid** | None | Enter items to avoid on your route, such as highways, tolls, and so on. For possible values, see [Calculate a route](/bingmaps/rest-services/routes/calculate-a-route). |
79-
| **Optimize** | timeWithTraffic | Select a parameter to optimize your route, such as distance, time with current traffic information, and so on. This example uses this value: "timeWithTraffic" |
80-
| **Distance unit** | <*your-preference*> | Enter the unit of distance to calculate your route. This example uses this value: "Mile" |
81-
| **Travel mode** | Driving | Enter the mode of travel for your route. This example uses this value "Driving" |
79+
| **Optimize** | timeWithTraffic | Select a parameter to optimize your route, such as distance, time with current traffic information, and so on. This example uses this value: *timeWithTraffic*. |
80+
| **Distance unit** | <*your-preference*> | Enter the unit of distance to calculate your route. This example uses this value *Mile*. |
81+
| **Travel mode** | Driving | Enter the mode of travel for your route. This example uses this value *Driving*. |
8282
| **Transit Date-Time** | None | Applies to transit mode only. |
8383
| **Transit Date-Type Type** | None | Applies to transit mode only. |
8484

8585
1. [Add a condition](../logic-apps/logic-apps-control-flow-conditional-statement.md) that checks whether the current travel time with traffic exceeds a specified time. For this example, follow these steps:
8686

87-
1. Rename the condition with this description: **If traffic time is more than specified time**
87+
1. Rename the condition with this description: **If traffic time is more than specified time**.
8888

89-
1. In the leftmost column, select inside the **Choose a value** box so the dynamic content list appears. From that list, select the **Travel Duration Traffic** field, which is in seconds.
89+
1. In the leftmost column, select inside **Choose a value** so the dynamic content list appears. From that list, select the **Travel Duration Traffic** field, which is in seconds.
9090

9191
:::image type="content" source="./media/logic-apps-control-flow-run-steps-group-scopes/build-condition.png" alt-text="Screenshot shows a condition selected from dynamic content.":::
9292

@@ -98,7 +98,7 @@ You can save your logic app at any time, so save your work often.
9898

9999
:::image type="content" source="./media/logic-apps-control-flow-run-steps-group-scopes/finished-condition.png" alt-text="Screenshot shows the conditional after you selected the values.":::
100100

101-
1. In the **True** branch, add a "send email" action for your email provider. Set up this action by following the steps under this image:
101+
1. In the **True** branch, add a send email action for your email provider. Set up this action by following the steps under this image:
102102

103103
:::image type="content" source="./media/logic-apps-control-flow-run-steps-group-scopes/send-email.png" alt-text="Screenshot shows adding a Send an email action to True branch.":::
104104

@@ -112,21 +112,21 @@ You can save your logic app at any time, so save your work often.
112112

113113
`Travel time:`
114114

115-
While your cursor appears in the **Body** field, the dynamic content list stays open so that you can select any parameters that are available at this point.
115+
While your cursor appears in the **Body** field, the dynamic content list stays open. You can select any parameters that are available at this point.
116116

117117
1. In the dynamic content list, select **Expression**.
118118

119119
1. Find and select the **div()** function. Put your cursor in inside the function's parentheses.
120120

121-
1. While your cursor is inside the function's parentheses, select **Dynamic content** so that the dynamic content list appears.
121+
1. While your cursor is inside the function's parentheses, select **Dynamic content**. The dynamic content list appears.
122122

123123
1. From the **Get route** section, select the **Traffic Duration Traffic** field.
124124

125125
:::image type="content" source="./media/logic-apps-control-flow-run-steps-group-scopes/send-email-2.png" alt-text="Screenshot shows adding the Traffic Duration Traffic value.":::
126126

127127
1. After the field resolves to JSON format, add a **comma** (`,`) followed by the number `60` so that you convert the value in **Traffic Duration Traffic** from seconds to minutes.
128128

129-
```
129+
```json
130130
div(body('Get_route')?['travelDurationTraffic'],60)
131131
```
132132

@@ -144,7 +144,7 @@ You can save your logic app at any time, so save your work often.
144144
:::image type="content" source="./media/logic-apps-control-flow-run-steps-group-scopes/send-email-4.png" alt-text="Screenshot shows your finished Body field.":::
145145
<!-- markdownlint-enable MD038 -->
146146

147-
1. Save your logic app.
147+
1. Save your logic app workflow.
148148

149149
Next, add a scope so that you can group specific actions and evaluate their status.
150150

@@ -158,7 +158,7 @@ Next, add a scope so that you can group specific actions and evaluate their stat
158158

159159
:::image type="content" source="./media/logic-apps-control-flow-run-steps-group-scopes/add-scope.png" alt-text="Screenshot shows adding a scope to the workflow.":::
160160

161-
1. In the search box, enter "scope" as your filter. Select the **Scope** action.
161+
1. In the search box, enter *scope*. Select the **Scope** action.
162162

163163
## Add steps to scope
164164

@@ -167,11 +167,11 @@ Next, add a scope so that you can group specific actions and evaluate their stat
167167
- **Get route**
168168
- **If traffic time is more than specified time**, which includes both the **true** and **false** branches
169169

170-
Your logic app now looks like this example:
170+
Your logic app workflow now looks like this example:
171171

172172
:::image type="content" source="./media/logic-apps-control-flow-run-steps-group-scopes/scope-added.png" alt-text="Screenshot shows workflow with steps added to the scope.":::
173173

174-
1. Under the scope, add a condition that checks the scope's status. Rename the condition with this description: **If scope failed**
174+
1. Under the scope, add a condition that checks the scope's status. Rename the condition with this description: **If scope failed**.
175175

176176
:::image type="content" source="./media/logic-apps-control-flow-run-steps-group-scopes/add-condition-check-scope-status.png" alt-text="Screenshot shows adding a condition to check scope status.":::
177177

@@ -203,13 +203,13 @@ Next, add a scope so that you can group specific actions and evaluate their stat
203203

204204
:::image type="content" source="./media/logic-apps-control-flow-run-steps-group-scopes/select-run-after-statuses.png" alt-text="Screenshot shows selected scope statuses.":::
205205

206-
1. When you're finished, select **Done**. The condition now shows an "information" icon.
206+
1. When you're finished, select **Done**. The condition now shows an information icon.
207207

208208
1. In the **True** and **False** branches, add the actions that you want to perform based on each scope status, for example, send an email or message.
209209

210210
:::image type="content" source="./media/logic-apps-control-flow-run-steps-group-scopes/handle-true-false-branches.png" alt-text="Screenshot shows adding actions to take based on scope status.":::
211211

212-
1. Save your logic app.
212+
1. Save your logic app workflow.
213213

214214
Your finished logic app now looks like this example:
215215

0 commit comments

Comments
 (0)