Skip to content

Workflows.Create

func (workflowClient) Create(
ctx context.Context,
name string,
options ...workflows.WorkflowOption,
) (*workflows.Workflow, error)

Create a workflow.

name string required

The workflow display name.

options []workflows.WorkflowOption

Options for creating the workflow.

workflows.WithDescription(description string)

Set the workflow description.

The created workflow object.