Skip to content

Commit f6cdf7d

Browse files
committed
add a direct field access for update trigger expression snippets
1 parent 6e0c748 commit f6cdf7d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

snippets/triggers/match/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a081",
88
"title": "Update",
99
"snippet": "/update.json",
10-
"description": "This trigger will only execute if the `storeLocation` array has changed to \"East Langley\" and the \"storeItems\" field has been removed."
10+
"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\""
1111
},
1212
{
1313
"id": "ed4b3598-6800-413f-9158-d9b1b2a2a082",

snippets/triggers/match/update.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"updateDescription.removedFields.0.0": "storeItems",
3-
"updateDescription.updatedFields.storeLocation.0.0": "East Langley"
3+
"updateDescription.updatedFields.storeLocation.0.0": "East Langley",
4+
"updateDescription.updatedFields.status": "updated"
45
}

0 commit comments

Comments
 (0)