Skip to main content

# WorkflowVariant

A workflow variant. Typically selection of set input variables.

    type WorkflowVariant {
      id: ID!
      name: String!
      workflow: Workflow!
      default: Boolean!
      executions(
        onlyRunning: Boolean = false
      ): [WorkflowExecution!]!
      executionCount(
        onlyRunning: Boolean = false
      ): Int!
    }

### Fields​

#### `WorkflowVariant.id` ● `ID!` non-null scalar​

ID of this variant.

#### `WorkflowVariant.name` ● `String!` non-null scalar​

Name of this variant.

#### `WorkflowVariant.workflow` ● `Workflow!` non-null object​

The associated workflow.

#### `WorkflowVariant.default` ● `Boolean!` non-null scalar​

Flag to tell whether this is the default variant for the associated workflow.

#### `WorkflowVariant.executions` ● `[WorkflowExecution!]!` non-null object​

Get workflow executions for this variant.

##### `WorkflowVariant.executions.onlyRunning` ● `Boolean` scalar​

#### `WorkflowVariant.executionCount` ● `Int!` non-null scalar​

Get workflow execution count for this variant.

##### `WorkflowVariant.executionCount.onlyRunning` ● `Boolean` scalar​

### Member Of​

`CreateVariantFromStartDialogExecutionPayload` object ● `Workflow` object ● `WorkflowExecution` object