Workflow
Parameters and properties
Section titled “Parameters and properties”nameRequiredstringName of the workflow definition, included in its execution reports.tasksRequiredreadonly Task<unknown>[]Task definitions making up the graph, including every declared dependency.startRequired(options?: WorkflowOptions) => Promise<WorkflowResult>Run the graph and resolve with a WorkflowResult once no task can run, even when tasks failed. Rejects on invalid options, a stale or invalid answer or decision, or a checkpoint that cannot be read or saved.diagramRequired() => stringReturn a Mermaid diagram of task keys and dependency edges without executing tasks.