workflowDispatch
workflowDispatch(
input:WithMeta<WorkflowDispatchInput>):WorkflowDispatchModel
Create a workflow dispatch trigger model for manual workflow execution.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
|
Dispatch input definitions and optional model metadata. |
Returns
Section titled “Returns”WorkflowDispatchModel
A WorkflowDispatchModel for use in an OnInput.
Example
Section titled “Example”workflowDispatch({ inputs: { environment: { description: "Deployment target", required: true, type: "choice", options: ["staging", "production"], }, },})