UpsertTaskDefinitionInput
Input for creating or updating a task definition
Fields
Optional ID for updates
Definition name
Optional description
Outcome options; must be empty for JOURNEY templates
SIMPLE or JOURNEY. Defaults to SIMPLE when creating; omitted for an existing template, the stored kind is kept. SIMPLE clears the journey fields.
Possible values (2)
SIMPLECompleted by choosing one of the template's outcome options
JOURNEYCompleted by running the template's journey; the journey's declared outputs complete the task
Handle of a published journey; required for JOURNEY templates, not allowed for SIMPLE ones. Omitted for an existing template, the stored handle is kept.
For JOURNEY templates: an object from journey input key to a workflow expression template string. Every key must be one of the journey's inputs, and every required input must be mapped. Omitted for an existing template, the stored mapping is kept.
Referenced by (1)
Exact type SDL
"""Input for creating or updating a task definition"""
input UpsertTaskDefinitionInput {
"""Optional ID for updates"""
id: TaskDefinitionID
"""Definition name"""
name: String!
"""Optional description"""
description: String
"""Outcome options; must be empty for JOURNEY templates"""
options: [TaskDefinitionOptionInput!]!
"""
SIMPLE or JOURNEY. Defaults to SIMPLE when creating; omitted for an existing template, the stored kind is kept. SIMPLE clears the journey fields.
"""
kind: TaskTemplateKind
"""
Handle of a published journey; required for JOURNEY templates, not allowed for SIMPLE ones. Omitted for an existing template, the stored handle is kept.
"""
journeyHandle: String
"""
For JOURNEY templates: an object from journey input key to a workflow expression template string. Every key must be one of the journey's inputs, and every required input must be mapped. Omitted for an existing template, the stored mapping is kept.
"""
journeyInputMapping: JSON
}