Skip to main content
Version: 8.5

TaskQuery

Task query - query to get one page of tasks.

input TaskQuery {
state: TaskState
assigned: Boolean
assignee: String
candidateGroup: String
candidateUser: String
processDefinitionId: String
processInstanceId: String
followUpDate: DateFilter
dueDate: DateFilter
pageSize: Int
taskDefinitionId: String
searchAfter: [String!]
searchAfterOrEqual: [String!]
searchBefore: [String!]
searchBeforeOrEqual: [String!]
sort: [TaskOrderBy]
}

Fields

TaskQuery.state ● TaskState enum

State of the tasks

TaskQuery.assigned ● Boolean scalar

Are the tasks assigned?

TaskQuery.assignee ● String scalar

Who is assigned to the tasks?

TaskQuery.candidateGroup ● String scalar

given group is in candidate groups list

TaskQuery.candidateUser ● String scalar

given group is in candidate user list

TaskQuery.processDefinitionId ● String scalar

Reference to process definition

TaskQuery.processInstanceId ● String scalar

Reference to process instance

TaskQuery.followUpDateDate ● DateFilter input

Follow-up date for the task

TaskQuery.dueDate ● DateFilter scalar

Due date for the task

TaskQuery.pageSize ● Int scalar

Size of tasks page (default: 50).

TaskQuery.taskDefinitionId ● String scalar

Task definition ID - what's the BPMN flow node?

TaskQuery.searchAfter ● [String!] list scalar

Array of values copied from sortValues of one of the tasks, query will return page of tasks going directly after this values plus same sort values.

TaskQuery.searchAfterOrEqual ● [String!] list scalar

Array of values copied from sortValues of one of the tasks, query will return page of tasks going directly after this values.

TaskQuery.searchBefore ● [String!] list scalar

Array of values copied from sortValues of one of the tasks, query will return page of tasks going directly before this values plus same sort values.

TaskQuery.searchBeforeOrEqual ● [String!] list scalar

Array of values copied from sortValues of one of the tasks, query will return page of tasks going directly before this values.

TaskQuery.sort ● [TaskOrderBy] list scalar

Array of values copied from sortValues of one of the tasks, query will return page of tasks going directly before this values.

Member of

tasks query