Stream Action
Use StreamActions when a client needs to receive Action assignments and lifecycle changes in real time.
The stream filters by principals assigned to execute Actions, principals who requested Actions, or principals who authorized Actions.
StreamActions is a server-streaming RPC. For request/response access to Action data, use CreateAction, GetAction, UpdateActionState, and SearchActions.
|
Stream Filters
The principal filters combine with OR logic. An Action appears if it matches any requested, assigned, or authorized principal filter. The optional source-node filter further constrains results.
Stream Modes
| Mode | Behavior |
|---|---|
|
Send initial non-terminal Actions, then continue with live updates. |
|
Send the initial matching queue and close the stream. |
|
Skip initial state and emit only new lifecycle changes. |
Event Types
| Event | Meaning |
|---|---|
|
Action existed when the stream was established. |
|
Action was newly created or assigned. |
|
State or progress changed. |
|
Action was cancelled. |
|
Keepalive message when heartbeat is configured. |
Principals that receive Actions on this stream should use Update State to report acknowledgement, planning, execution progress, completion, failure, or cancellation.