Skip to main content
Version: 8.1


Describes the User task.

type Task {
id: ID!
name: String!
taskDefinitionId: String!
processName: String!
creationTime: String!
completionTime: String
assignee: String
variables: [Variable!]
taskState: TaskState!
sortValues: [String!]
isFirst: Boolean
formKey: String
processDefinitionId: String
candidateGroups: [String!]

Fields ● ID! non-null scalar

The unique identifier of the task ● String! non-null scalar

Name of the task

Task.taskDefinitionId ● String! non-null scalar

Task Definition ID (node BPMN id) of the process

Task.processName ● String! non-null scalar

Name of the process

Task.creationTime ● String! non-null scalar

When was the task created

Task.completionTime ● String scalar

When was the task completed

Task.assignee ● String scalar

Username/id of who is assigned to the task

Task.variables ● [Variable!] list object

Variables associated to the task

Task.taskState ● TaskState! non-null enum

State of the task

Task.sortValues ● [String!] list scalar

Array of values to be copied into TaskQuery to request for next or previous page of tasks.

Task.isFirst ● Boolean scalar

Flag to show that the task is first in current filter

Task.formKey ● String scalar

Reference to the task form

Task.processDefinitionId ● String scalar

Reference to process definition

Task.candidateGroups ● [String!] list scalar

Candidate groups

Returned by

claimTask mutation ● completeTask mutation ● task query ● tasks query ● unclaimTask mutation