diff --git a/manifest.json b/manifest.json index 84241a4..41fe346 100644 --- a/manifest.json +++ b/manifest.json @@ -22,5 +22,5 @@ "metadata": "/snippets/triggers/project/manifest.json" } ], - "version": "783a865c20468d5ca200226c848f45d8fb7ea8a9" + "version": "f6cdf7da31b27ebd5213eb948a98e1506377dec9" } 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" } }