The sheet whose document receives the update (must expose document.update and document.system).
The changed element's dataset. Must carry triggerId, conditionId and field (subConditionType | subConditionLogic | metaRange). subConditionIndex is required for the sub-condition fields; swingIndex and triggersKey select the swing-scoped branch of metaRange.
The new value for the field (type/logic string, or a numeric-coercible string for metaRange).
Optionalcollection: string = "triggers"
Trigger collection on system the trigger lives in ("triggers" or "eventTriggers").
true when an update was issued; false when the condition was not found, the field is unknown, or a swing-scoped swing id could not be resolved.
Handle inline field changes for sub-conditions (type, logicOp) and meta-condition range values (
metaRange). Rewrites the full subConditions array since it's a plain ArrayField.The
collectionargument names the document field the owning trigger lives in ("triggers"by default). Keyword Event Triggers live insystem.eventTriggers, so their sub-condition and range edits must pass"eventTriggers"or the update is written to a trigger that does not exist there. The swing-scopedmetaRangebranch (used whendataset.swingIndexis set) ignorescollectionand keeps its ownsystem.swings.<id>.<triggersKey>routing.