CreateTaskInput
Input for creating a task
Fields
Task type
Possible values (3)
MANUALA manual task with custom outcomes
APPROVALAn approval task from a workflow
AGENT_AUTOMATEDA task automatically resolved by an AI agent
Task title
Optional description
Task definition for manual tasks
Linked resource type
Linked resource ID
Assign to a specific user
Assign to a team
Priority level (default 0)
Due date (ISO8601)
TypeID of the record this task is about (e.g. a job or an order). Takes precedence over resourceType/resourceId when reading subjectId.
Referenced by (1)
Exact type SDL
"""Input for creating a task"""
input CreateTaskInput {
"""Task type"""
type: TaskType!
"""Task title"""
title: String!
"""Optional description"""
description: String
"""Task definition for manual tasks"""
taskDefinitionId: TaskDefinitionID
"""Linked resource type"""
resourceType: String
"""Linked resource ID"""
resourceId: String
"""Assign to a specific user"""
assignedUserId: UserID
"""Assign to a team"""
assignedTeamId: TeamID
"""Priority level (default 0)"""
priority: Int
"""Due date (ISO8601)"""
dueAt: ISO8601
"""
TypeID of the record this task is about (e.g. a job or an order). Takes precedence over resourceType/resourceId when reading subjectId.
"""
subjectId: ID
}