Skip to content

Commit 6c5c8ce

Browse files
authored
Update art links
1 parent 85386a3 commit 6c5c8ce

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

articles/connectors/connectors-create-api-cosmos-db.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ To add an Azure Cosmos DB built-in action to a Standard workflow, follow these s
156156

157157
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**:
158158

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.":::
160160

161161
1. Configure any other parameters or settings as needed.
162162

@@ -230,6 +230,10 @@ The **Query items** built-in action in a Standard workflow has many dynamic cont
230230
| **Container Id** | Yes | <*container-ID*> | The container to query. |
231231
| **SQL Query** | Yes | <*sql-query*> | The SQL query for the request. |
232232

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+
233237
1. Configure any other parameters or settings as needed.
234238

235239
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
244248

245249
1. From the **Query items** section in the list, select the output you want, or select **See more** for more outputs.
246250

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.":::
248256

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.
250258

251259
1. On the designer toolbar, select **Save**.
252260

0 commit comments

Comments
 (0)