diff --git a/manifest.json b/manifest.json index 1f8e215..2890e39 100644 --- a/manifest.json +++ b/manifest.json @@ -22,5 +22,5 @@ "metadata": "/snippets/triggers/project/manifest.json" } ], - "version": "9e7de2eca038730a7ac56629d80c4dbb4e34e72d" + "version": "2fd2d1123888a90bd8126ad8f5a73c93166d4717" } diff --git a/snippets/triggers/match/manifest.json b/snippets/triggers/match/manifest.json index e18bcc4..5da2968 100644 --- a/snippets/triggers/match/manifest.json +++ b/snippets/triggers/match/manifest.json @@ -7,7 +7,7 @@ "id": "ed4b3598-6800-413f-9158-d9b1b2a2a081", "title": "Update", "snippet": "/update.json", - "description": "This trigger will only execute if the `storeLocation` array has changed to \"East Langley\" and the \"storeItems\" field has been removed." + "description": "This trigger will execute if the `storeLocation` array is updated to include \"East Langley\", the \"storeItems\" field has been removed, and the status field is updated to \"updated\"" }, { "id": "ed4b3598-6800-413f-9158-d9b1b2a2a082", diff --git a/snippets/triggers/match/update.json b/snippets/triggers/match/update.json index 0accd54..2638fba 100644 --- a/snippets/triggers/match/update.json +++ b/snippets/triggers/match/update.json @@ -1,4 +1,5 @@ { "updateDescription.removedFields.0.0": "storeItems", - "updateDescription.updateFields.storeLocation.0.0": "East Langley" + "updateDescription.updatedFields.storeLocation.0.0": "East Langley", + "updateDescription.updatedFields.status": "updated" } diff --git a/snippets/triggers/project/update.json b/snippets/triggers/project/update.json index 0536a6d..022fc86 100644 --- a/snippets/triggers/project/update.json +++ b/snippets/triggers/project/update.json @@ -2,7 +2,7 @@ "operationType": { "$numberInt": "1" }, - "updateDescription.updateFields.storeLocation": { + "updateDescription.updatedFields.storeLocation": { "$numberInt": "1" } }