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/connectors/connectors-create-api-cosmos-db.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ To add an Azure Cosmos DB built-in action to a Standard workflow, follow these s
156
156
157
157
The following example shows the action named **Create or update item**, which includes the **Item** and **Partition Key** parameter values from the output for the trigger named **When a HTTP request is received**:
158
158
159
-
:::image type="content" source="media/connectors-create-api-cosmos-db/create-action-standard.png" alt-text="Screenshot shows Azure portal, designer for Standard workflow, and action named Create or update item.":::
159
+
:::image type="content" source="media/connectors-create-api-cosmos-db/create-action-standard.png" alt-text="Screenshot shows Azure portal, designer for Standard workflow, and Azure Cosmos DB built-in action named Create or update item.":::
160
160
161
161
1. Configure any other parameters or settings as needed.
162
162
@@ -230,6 +230,10 @@ The **Query items** built-in action in a Standard workflow has many dynamic cont
230
230
| **Container Id** | Yes | <*container-ID*> | The container to query. |
231
231
| **SQL Query** | Yes | <*sql-query*> | The SQL query for the request. |
232
232
233
+
The following example shows the **Query items** action:
234
+
235
+
:::image type="content" source="media/connectors-create-api-cosmos-db/query-action-standard.png" alt-text="Screenshot shows Azure portal, designer for Standard workflow, and Azure Cosmos DB built-in action named Query items.":::
236
+
233
237
1. Configure any other parameters or settings as needed.
234
238
235
239
1. Under the **Query items** action, follow [these general steps to add an action that you want to run on all the returned query items](/azure/logic-apps/create-workflow-with-trigger-or-action?tabs=standard#add-action).
@@ -244,9 +248,13 @@ The **Query items** built-in action in a Standard workflow has many dynamic cont
244
248
245
249
1. From the **Query items** section in the list, select the output you want, or select **See more** for more outputs.
246
250
247
-
For example, you can select **Response Item Id** to populate the **Item Id** field with IDs from the query results.
251
+
For example, you can select **Response Items Item** to populate the **Item Id** field with IDs from the query results.
252
+
253
+
After you select the **Response Items Item**, the **For each** action is automatically added to iterate through all the query results. The **For each** loop contains the **Delete an item** action.
254
+
255
+
:::image type="content" source="media/connectors-create-api-cosmos-db/delete-item-standard.png" alt-text="Screenshot shows Azure portal, designer for Standard workflow, and Azure Cosmos DB built-in action named Delete an item.":::
248
256
249
-
After you select the **Response Item Id**, the **For each** action is automatically added to iterate through all the query results. The **For each** loop contains the **Delete an item** action. You can add any other actions to the loop.
257
+
1. Add any other actions that you want to the loop.
0 commit comments