API ReferenceCore
Collection value changed
Core trigger: core:core:collection:collection-value-changed
Collection value changed
| Trigger ID | core:core:collection:collection-value-changed |
| Plugin | Core |
| Category | Collection |
Variables
Copy variables into handler fields using {variableName} syntax.
{collectionName}{lifetime}{key}{value}{previousValue}{changeType}| Name | Type | Description |
|---|---|---|
{collectionName} | string | Name of the collection that changed. Example: |
{lifetime} | object | Collection lifetime (`session` or `persistent`). Example: |
{key} | string | Key pressed without modifiers, or collection entry key on collection triggers. Example: |
{value} | string | New collection value after the change. Example: |
{previousValue} | string | Previous collection value before the change. Example: |
{changeType} | object | Type of collection mutation (`set`, `update`, `delete`, `clear`). Example: |
Conditions
| Condition | Description |
|---|---|
| Collection name | Restrict to a specific collection name. Leave empty to match any collection. |
| collection Key | Filter on collection Key. Configure in the trigger condition editor. |
| Collection lifetime | Restrict to collections with a specific lifetime (session or persistent). |
| collection Change Type | Filter on collection Change Type. Configure in the trigger condition editor. |
| collection Previous Value | Filter on collection Previous Value. Configure in the trigger condition editor. |
| collection Value | Filter on collection Value. Configure in the trigger condition editor. |