← API reference
CANONICAL TYPE REFERENCE

CreateWorkflowTriggerInput

Input for creating a workflow trigger.

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.

nameString!

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

Type-tagged configuration determining what makes this trigger fire.

isEnabledBoolean

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.

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

View exact 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
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.