← All types
Platform & adminIn Input object

UpdateTaskDefinitionInput

Input for updating a task definition. Only provided fields are changed.

Fields

name

StringOptional

Definition name

Optional description

Outcome options; must be empty for JOURNEY templates

SIMPLE or JOURNEY. Switching to SIMPLE clears the journey fields.

Possible values (2)
SIMPLE

Completed by choosing one of the template's outcome options

JOURNEY

Completed by running the template's journey; the journey's declared outputs complete the task

Handle of a published journey; only for JOURNEY templates

For JOURNEY templates: an object from journey input key to a workflow expression template string. Replaces the whole mapping.

Referenced by (1)
Exact type SDL
"""
Input for updating a task definition. Only provided fields are changed.
"""
input UpdateTaskDefinitionInput {
  """Definition name"""
  name: String
  """Optional description"""
  description: String
  """Outcome options; must be empty for JOURNEY templates"""
  options: [TaskDefinitionOptionInput!]
  """SIMPLE or JOURNEY. Switching to SIMPLE clears the journey fields."""
  kind: TaskTemplateKind
  """Handle of a published journey; only for JOURNEY templates"""
  journeyHandle: String
  """
  For JOURNEY templates: an object from journey input key to a workflow expression template string. Replaces the whole mapping.
  """
  journeyInputMapping: JSON
}