← API reference
CANONICAL TYPE REFERENCE

TaskDefinitionOption

An outcome option for a task definition

labelString!

Display label for the option

valueString!

Machine-readable value

Optional Lua script to run when this option is selected

Optional static input to pass to the script

View exact SDL
"""An outcome option for a task definition"""
type TaskDefinitionOption {
  """Display label for the option"""
  label: String!
  """Machine-readable value"""
  value: String!
  """Optional Lua script to run when this option is selected"""
  scriptId: ScriptID
  """Optional static input to pass to the script"""
  scriptInput: String
}

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