Skip to content

Durable Vocabulary ​

These are the awaits WorkflowRuntime understands. They replace graph node types. Designer JSON uses the same names.

AwaitDartJSONPersisted as
Operationworkflow.perform(...)operationoperation command
Workworkflow.requestworkwork command and WorkItem
Eventworkflow.waitForEventeventevent wait
Timerworkflow.sleeptimertimer command
Callworkflow.workflowcallchild run + join
Spawn / joinworkflow.spawn / joinspawn / joinchild handle
Parallel / race / quorumworkflow.parallel / race / quorumnamed branchesjoin + loser cancel
forEachworkflow.forEachforEachkeyed fan-out
Sagaworkflow.sagasagacompensate in reverse
Continue as newworkflow.continueAsNewcontinueAsNewsuccessor run
Queryworkflow.queryqueryread-only snapshot

An actor can be a person, user, group, role, software agent, bot, or service. request creates assigned work for any such actor; respond records the result. Automated handler code is an operation. Events communicate facts without creating an audience.

See Also ​