Query user task variables
POST/user-tasks/:userTaskKey/variables/search
Search for user task variables based on given criteria.
Request
Path Parameters
The key of the user task.
- application/json
Body
- Array [
- ]
sort object[]
Sort field criteria.
The field to sort by.
Possible values: [ASC
, DESC
]
Default value: ASC
The order in which to sort the related field.
page object
Pagination criteria.
The index of items to start searching from.
The maximum number of items to return in one request.
Items to search after. Correlates to the lastSortValues
property of a previous search response.
Items to search before. Correlates to the firstSortValues
property of a previous search response.
Responses
- 200
- 400
- 500
The user task variables search response.
- application/json
- application/vnd.camunda.api.keys.number+json
- application/vnd.camunda.api.keys.string+json
- Schema
- Example (from schema)
Schema
- Array [
- ]
page object
Pagination information about the search results.
Total items matching the criteria.
The sort values of the first item in the result set. Use this in the searchBefore
field of an ensuing request.
The sort values of the last item in the result set. Use this in the searchAfter
field of an ensuing request.
items object[]
The matching variables.
The key for this variable.
The key of the scope of this variable.
The key of the process instance of this variable.
{
"items": [
{
"variableKey": "string",
"scopeKey": "string",
"processInstanceKey": "string",
"name": "string",
"value": "string",
"fullValue": "string",
"tenantId": "string",
"isTruncated": true
}
],
"page": {
"totalItems": 0,
"firstSortValues": [
{}
],
"lastSortValues": [
{}
]
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
page object
Pagination information about the search results.
Total items matching the criteria.
The sort values of the first item in the result set. Use this in the searchBefore
field of an ensuing request.
The sort values of the last item in the result set. Use this in the searchAfter
field of an ensuing request.
items object[]
The matching variables.
The key for this variable.
The key of the scope of this variable.
The key of the process instance of this variable.
{
"items": [
{
"variableKey": 0,
"scopeKey": 0,
"processInstanceKey": 0,
"name": "string",
"value": "string",
"fullValue": "string",
"tenantId": "string",
"isTruncated": true
}
],
"page": {
"totalItems": 0,
"firstSortValues": [
{}
],
"lastSortValues": [
{}
]
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
page object
Pagination information about the search results.
Total items matching the criteria.
The sort values of the first item in the result set. Use this in the searchBefore
field of an ensuing request.
The sort values of the last item in the result set. Use this in the searchAfter
field of an ensuing request.
items object[]
The matching variables.
The key for this variable.
The key of the scope of this variable.
The key of the process instance of this variable.
{
"items": [
{
"variableKey": "string",
"scopeKey": "string",
"processInstanceKey": "string",
"name": "string",
"value": "string",
"fullValue": "string",
"tenantId": "string",
"isTruncated": true
}
],
"page": {
"totalItems": 0,
"firstSortValues": [
{}
],
"lastSortValues": [
{}
]
}
}
The user task variables 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"
}