Query user tasks (alpha)
POST/user-tasks/search
Search for user tasks based on given criteria.
This endpoint is an alpha feature and not enabled on Camunda clusters out of the box. See the Camunda 8 REST API overview for further details.
Request
- application/json
Body
- Array [
- ]
- Array [
- ]
sort object[]
Default value: asc
page object
filter object
User task filter request.
variables object[]
Responses
- 200
- 400
- 500
The user task search successful response.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
page object
items object[]
customHeaders object
Possible values: <= 100
Default value: 50
The priority of a user task. The higher the value the higher the priority.
{
"items": [
{
"key": 0,
"state": "string",
"assignee": "string",
"elementId": "string",
"elementInstanceKey": 0,
"candidateGroup": [
"string"
],
"candidateUser": [
"string"
],
"processDefinitionId": "string",
"processDefinitionKey": 0,
"processInstanceKey": 0,
"formKey": 0,
"creationDate": "2024-10-02T22:01:21.400Z",
"completionDate": "2024-10-02T22:01:21.400Z",
"followUpDate": "2024-10-02T22:01:21.400Z",
"dueDate": "2024-10-02T22:01:21.401Z",
"tenantIds": "string",
"externalFormReference": "string",
"processDefinitionVersion": 0,
"customHeaders": {},
"priority": 50
}
],
"page": {
"totalItems": 0,
"firstSortValues": [
{}
],
"lastSortValues": [
{}
]
}
}
The user task search query failed. More details are provided in the response body.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
An internal error occurred while processing the request.
- application/problem+json
- Schema
- Example (from schema)
Schema
Default value: about:blank
A URI identifying the problem type.
A summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code for this problem.
An explanation of the problem in more detail.
A URI identifying the origin of the problem.
{
"type": "about:blank",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}