Skip to main content
A workflow blob holds the definitions a revision runs and, in each session of that revision, the runs themselves. A revision carries four categories of definition. A run happens in a session, as an execution, and everything it writes lands in the session’s objects and event stream.

What a revision holds

A revision holds definitions of four categories, each saved under an alias.
  • workflow: the components and connections an execution runs. See Definition Format and Components.
  • playground: the layout of widgets that shows a session. It places built-in widgets and the revision’s own widget definitions, each by its type. See Playground Definition Format.
  • listener: a filter on a session’s event stream that acts on each match. See Listeners.
  • widget: a custom playground widget deployed into the revision, placed in a playground under its alias. See Custom Widgets.

What a session holds

A session holds the executions started in it, its session objects and its event stream.
  • Executions run a workflow definition. See Create Execution.
  • Session objects are typed, aliased values that components and callers share across executions. See Session Objects.
  • The event stream records each change in the session, in order. See Session Events.
  • A session is open, closing, closed or deleting. See Session Lifecycle.

How a run starts

  • The operation Create Execution starts a workflow definition in a session.
  • A playground starts one on each post to a thread widget whose responder is workflow. See Widgets.
  • A declared listener runs a workflow when an event in the stream matches its filter.
  • A schedule of the Scheduler starts one on a time-based cadence.