Record watchers
A watcher is a worker who has enabled notifications for all new activity on a record.
Internally, a watcher is a worker record linked to any other record type. Watchers can be managed by automations using the record.update: command and the links
field.
The value of the links
field is a list of record tuples formatted as type:id
. So to add a watcher, use worker:id
.
A watcher link can be removed by prepending a -
to the tuple in the list.
-
start: record.update/watcher: output: updated_ticket inputs: record_type: ticket record_id: 123 fields: links@list: worker:1 worker:2 -worker:3
-
commands: record.update: deny/type@bool: {{inputs.record_type is not record type ('ticket')}} allow@bool: yes