Skip to content

Workflows.Create

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

Create a workflow.

Parameters

name string required

The workflow display name.

options []workflows.WorkflowOption

Options for creating the workflow.

Options

workflows.WithDescription(description string)

Set the workflow description.

Returns

The created workflow object.

Type to search…