Skip to main content

TaskQuery

Task query - query to get one page of tasks.

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

Fields​

state (TaskState)​

State of the tasks

assigned (Boolean)​

Are the tasks assigned?

assignee (String)​

Who is assigned to the tasks?

candidateGroup (String)​

given group is in candidate groups list

pageSize (Int)​

Size of tasks page (default: 50).

taskDefinitionId (String)​

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

searchAfter (String)​

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.

searchAfterOrEqual (String)​

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

searchBefore (String)​

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.

searchBeforeOrEqual (String)​

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