← All types
In Input object

CreateWorkflowTriggerInput

Input for creating a workflow trigger.

Fields

TypeID (prefix wfl) of the workflow this trigger starts when it fires.

Optional TypeID (prefix wfv) pinning the trigger to one workflow version. Omit to always run the workflow's current version.

name

String!Required

Human-readable name for the trigger. Must pass the standard name validation.

Type-tagged configuration determining what makes this trigger fire.

Whether the trigger starts out armed. Defaults to true when omitted; a disabled trigger is stored but never fires.

How firings are handled while an execution from this trigger is still running. A ConcurrencyPolicy name — ALLOW, QUEUE, SKIP or CANCEL (case-sensitive); defaults to ALLOW when omitted. folderWatch triggers must use ALLOW.

Possible values (4)
ALLOW

Allow multiple concurrent executions

QUEUE

Queue new executions if one is running

SKIP

Skip new executions if one is running

CANCEL

Cancel running execution and start new one

Cap on simultaneously running executions from this trigger. Must be at least 1. Omit for unlimited; folderWatch triggers must leave it unset.

Referenced by (1)
Exact type SDL
"""Input for creating a workflow trigger."""
input CreateWorkflowTriggerInput {
  """
  TypeID (prefix `wfl`) of the workflow this trigger starts when it fires.
  """
  workflowId: WorkflowID!
  """
  Optional TypeID (prefix `wfv`) pinning the trigger to one workflow version. Omit to always run the workflow's current version.
  """
  versionId: WorkflowVersionID
  """
  Human-readable name for the trigger. Must pass the standard name validation.
  """
  name: String!
  """Type-tagged configuration determining what makes this trigger fire."""
  config: TriggerConfigInput!
  """
  Whether the trigger starts out armed. Defaults to true when omitted; a disabled trigger is stored but never fires.
  """
  isEnabled: Boolean
  """
  How firings are handled while an execution from this trigger is still running. A ConcurrencyPolicy name — ALLOW, QUEUE, SKIP or CANCEL (case-sensitive); defaults to ALLOW when omitted. folderWatch triggers must use ALLOW.
  """
  concurrencyPolicy: ConcurrencyPolicy
  """
  Cap on simultaneously running executions from this trigger. Must be at least 1. Omit for unlimited; folderWatch triggers must leave it unset.
  """
  maxConcurrentExecutions: Int
}