Skip to main content

TaskQuery

Task query - query to get one page of tasks.

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

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.processDefinitionId ● String scalar

Reference to process definition

TaskQuery.processInstanceId ● String scalar

Reference to process instance

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.

Member of

tasks query