Interface: RunWorkflowOptions
Argument for the runWorkflow function.
Properties
agentConfig?
optionalagentConfig:AgentConfig
The agent config to use for the workflow. Required if runMode is "run".
args?
optionalargs:string[]
The arguments to pass to the workflow.
definition
definition:
WorkflowDefinition<any,any>
The workflow definition to run.
manageVersionControl?
optionalmanageVersionControl:"git"
If included, the workflow tool will check file changes, push back on unexpected changes, and commit expected changes automatically.
runMode
runMode:
WorkflowExecutionMode
The mode to run the workflow in.
skipTodos?
optionalskipTodos:boolean
Whether to skip TODOs in the workflow. They're already skipped in "dry" and "script" modes; this is mainly used to override the default behaviors, for example in automated testing of run and print modes.