Skip to main content

Module workflow

Module workflow 

Source
Expand description

Listing and counting workflow executions.

Two RPCs back the workflow table. ListWorkflowExecutions returns the rows, one page at a time; CountWorkflowExecutions with a GROUP BY returns the header tallies in a single cheap call, instead of the table having to page to exhaustion to know how many workflows are failing.

Both take an explicit namespace rather than using the connection’s own. A connection is bound to one namespace, but clones share a single HTTP/2 channel, so a fan-out across namespaces is one connection and N requests. See list_workflows_across.

Structs§

WorkflowPage
One page of the workflow table, plus the token that fetches the next.

Type Aliases§

Continuation
Per-namespace continuation tokens. A namespace missing from the list has no more pages; an entry with an empty token starts from the beginning.