You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/logic-apps/test-logic-apps-mock-data-static-results.md
+8-34Lines changed: 8 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ services: logic-apps
5
5
ms.suite: integration
6
6
ms.reviewer: estfan, azla
7
7
ms.topic: how-to
8
-
ms.date: 07/24/2024
8
+
ms.date: 03/14/2025
9
9
---
10
10
11
11
# Test workflows with mock outputs in Azure Logic Apps
@@ -26,9 +26,9 @@ This guide shows how to set up mock outputs for an action in a Consumption or St
26
26
27
27
If you're new to logic apps, see the following documentation:
28
28
29
-
*[Create an example Consumption logic app workflow in multitenant Azure Logic Apps](quickstart-create-example-consumption-workflow.md)
29
+
*[Quickstart: Create an example Consumption logic app workflow using the Azure portal](quickstart-create-example-consumption-workflow.md)
30
30
31
-
*[Create an example Standard logic app workflow in single-tenant Azure Logic Apps](create-single-tenant-workflows-azure-portal.md)
31
+
*[Create an example Standard logic app workflow using the Azure portal](create-single-tenant-workflows-azure-portal.md)
32
32
33
33
## Limitations
34
34
@@ -90,7 +90,7 @@ This guide shows how to set up mock outputs for an action in a Consumption or St
90
90
91
91
The action's lower-right corner now shows a test beaker icon (), which indicates that you enabled static results.
92
92
93
-
:::image type="content" source="media/test-logic-apps-mock-data-static-results/static-result-enabled.png" alt-text="Screenshot shows Consumption workflow with HTTP action and static result icon." lightbox="media/test-logic-apps-mock-data-static-results/static-result-enabled.png":::
93
+
:::image type="content" source="media/test-logic-apps-mock-data-static-results/static-result-enabled.png" alt-text="Screenshot shows Consumption workflow with HTTP action and static result icon." lightbox="media/test-logic-apps-mock-data-static-results/static-result-enabled.png":::
94
94
95
95
To find workflow runs that use mock outputs, see [Find runs that use static results](#find-runs-mock-data) later in this guide.
96
96
@@ -123,7 +123,7 @@ This guide shows how to set up mock outputs for an action in a Consumption or St
123
123
124
124
1. When you're ready, select **Save**.
125
125
126
-
The action's lower-right corner now shows a test beaker icon (), which indicates that you've enabled static results.
126
+
The action's lower-right corner now shows a test beaker icon (), which indicates that you enabled static results.
127
127
128
128
:::image type="content" source="media/test-logic-apps-mock-data-static-results/static-result-enabled.png" alt-text="Screenshot shows Standard workflow with HTTP action and static result icon." lightbox="media/test-logic-apps-mock-data-static-results/static-result-enabled.png":::
129
129
@@ -133,9 +133,7 @@ This guide shows how to set up mock outputs for an action in a Consumption or St
133
133
134
134
<a name="find-runs-mock-data"></a>
135
135
136
-
## Find runs that use mock outputs
137
-
138
-
### [Consumption](#tab/consumption)
136
+
## Find runs that use mock outputs (Consumption only)
139
137
140
138
To find earlier workflow runs where the actions use mock outputs, review that workflow's run history.
141
139
@@ -157,30 +155,6 @@ To find earlier workflow runs where the actions use mock outputs, review that wo
157
155
158
156
:::image type="content" source="media/test-logic-apps-mock-data-static-results/run-history-static-result.png" alt-text="Screenshot shows Consumption workflow run history with actions that use static results." lightbox="media/test-logic-apps-mock-data-static-results/run-history-static-result.png":::
159
157
160
-
### [Standard](#tab/standard)
161
-
162
-
To find earlier or other workflow runs where the actions use mock outputs, review each workflow's run history.
163
-
164
-
1. In the [Azure portal](https://portal.azure.com), open your Standard logic app workflow in the designer.
165
-
166
-
1. On the workflow menu, select **Overview**.
167
-
168
-
1. Under the **Essentials** section, select **Run History**, if not selected.
169
-
170
-
1. In the **Run History** table, find the **Static Results** column.
171
-
172
-
Any run that includes actions with mock outputs has the **Static Results** column set to **Enabled**, for example:
173
-
174
-
:::image type="content" source="media/test-logic-apps-mock-data-static-results/select-run-standard.png" alt-text="Screenshot shows Standard workflow run history with the Static Results column." lightbox="media/test-logic-apps-mock-data-static-results/select-run-standard.png":::
175
-
176
-
1. To view the actions in a run that uses mock outputs, select the run where the **Static Results** column is set to **Enabled**.
177
-
178
-
On the run details pane, any actions that use static results show the test beaker icon (), for example:
179
-
180
-
:::image type="content" source="media/test-logic-apps-mock-data-static-results/run-history-static-result.png" alt-text="Screenshot shows Standard workflow run history with actions that use static results." lightbox="media/test-logic-apps-mock-data-static-results/run-history-static-result.png":::
181
-
182
-
---
183
-
184
158
## Disable mock outputs
185
159
186
160
Turning off static results on an action doesn't remove the values from your last setup. So, if you turn on static results again on the same action, you can continue using your previous values.
@@ -199,6 +173,6 @@ Turning off static results on an action doesn't remove the values from your last
199
173
200
174
For more information about this setting in your underlying workflow definitions, see [Static results - Schema reference for Workflow Definition Language](logic-apps-workflow-definition-language.md#static-results) and [runtimeConfiguration.staticResult - Runtime configuration settings](logic-apps-workflow-actions-triggers.md#runtime-configuration-settings).
201
175
202
-
## Next steps
176
+
## Related content
203
177
204
-
* Learn more about [Azure Logic Apps](logic-apps-overview.md)
178
+
* [What is Azure Logic Apps?](logic-apps-overview.md)
0 commit comments