Durable Vocabulary
These are the awaits WorkflowRuntime understands. They replace graph node types. Designer JSON uses the same names.
| Await | Dart | JSON | Persisted as |
|---|---|---|---|
| Service task | flow.serviceTask / flow.activity | serviceTask | activity command |
| User task | flow.userTask | userTask | user-task command |
| Signal | flow.waitForSignal | signal | signal wait |
| Timer | flow.sleep | timer | timer command |
| Call | flow.call | call | child run + join |
| Spawn / join | flow.spawn / flow.join | spawn / join | child handle |
| Parallel / race / quorum | flow.parallel / race / quorum | named branches | join + loser cancel |
| forEach | flow.forEach | forEach | keyed fan-out |
| Saga | flow.saga | saga | compensate in reverse |
| Continue as new | flow.continueAsNew | continueAsNew | successor run |
| Query | flow.exposeQuery | query | read-only snapshot |
An actor can be a person, team, software agent, or external system. A user task means assigned work with a durable response, not "human only". Automated handler code is a service task.