Skip to main content

Query for tasks

Swagger UIyaml
post/process-api/query/tasks

All supported JSON parameter fields allowed are exactly the same as the parameters found for getting a collection of tasks (except for candidateGroupIn which is only available in this POST task query REST service), but passed in as JSON-body arguments rather than URL-parameters to allow for more advanced querying and preventing errors with request-uri’s that are too long. On top of that, the query allows for filtering based on task and process variables. The taskVariables and processInstanceVariables are both JSON-arrays containing objects with the format as described here.

Request body application/json · TaskQueryRequest

startinteger
sizeinteger
sortstring
orderstring
taskIdstring
namestring
nameLikestring
nameLikeIgnoreCasestring
descriptionstring
descriptionLikestring
priorityinteger
minimumPriorityinteger
maximumPriorityinteger
assigneestring
assigneeLikestring
ownerstring
ownerLikestring
unassignedboolean
delegationStatestring
candidateUserstring
candidateGroupstring
candidateGroupInstring[]
ignoreAssigneeboolean
involvedUserstring
processInstanceIdstring
processInstanceIdWithChildrenstring
withoutProcessInstanceIdboolean
processInstanceBusinessKeystring
processInstanceBusinessKeyLikestring
processDefinitionIdstring
processDefinitionKeystring
processDefinitionNamestring
processDefinitionKeyLikestring
processDefinitionNameLikestring
executionIdstring
createdOndate-time
createdBeforedate-time
createdAfterdate-time
excludeSubTasksboolean
taskDefinitionKeystring
taskDefinitionKeyLikestring
taskDefinitionKeysstring[]
dueDatedate-time
dueBeforedate-time
dueAfterdate-time
withoutDueDateboolean
activeboolean
includeTaskLocalVariablesboolean
includeProcessVariablesboolean
scopeDefinitionIdstring
scopeIdstring
scopeIdsstring[]
withoutScopeIdboolean
scopeTypestring
propagatedStageInstanceIdstring
tenantIdstring
tenantIdLikestring
withoutTenantIdboolean
candidateOrAssignedstring
categorystring
categoryInstring[]
categoryNotInstring[]
withoutCategoryboolean
rootScopeIdstring
parentScopeIdstring

Responses

Indicates request was successful and the tasks are returned. · DataResponseTaskResponse

totalinteger
startinteger
sortstring
orderstring
sizeinteger

requiredGrey names have no description in the spec