Query variables (alpha)
POST/variables/search
Search for process and local variables based on given criteria.
Note that this endpoint is an alpha feature and not enabled on Camunda clusters out of the box. The Camunda 8 API (REST) Overview page provides further details.
This endpoint is an alpha feature and may be subject to change in future releases.
Request
- application/json
Body
- Array [
- ]
- MOD1
- AdvancedLongFilter
- MOD1
- AdvancedLongFilter
sort object[]
Default value: asc
page object
filter object
Variable filter request.
The key for this variable.
Name of the variable.
The value of the variable.
scopeKey object
Long property with full advanced search capabilities.
integer
Checks for equality with the provided value.
Checks for inequality with the provided value.
Checks if the current property exists.
Checks if the property matches any of the provided values.
Greater than comparison with the provided value.
Greater than or equal comparison with the provided value.
Lower than comparison with the provided value.
Lower than or equal comparison with the provided value.
processInstanceKey object
Long property with full advanced search capabilities.
integer
Checks for equality with the provided value.
Checks for inequality with the provided value.
Checks if the current property exists.
Checks if the property matches any of the provided values.
Greater than comparison with the provided value.
Greater than or equal comparison with the provided value.
Lower than comparison with the provided value.
Lower than or equal comparison with the provided value.
Tenant ID of this variable.
Whether the value is truncated or not.
Responses
- 200
- 400
- 500
The variable search result.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
page object
items object[]
The key for this variable.
Name of this variable.
Value of this variable.
Full value of this variable.
The key of the scope of this variable.
The key of the process instance of this variable.
Tenant ID of this variable.
Whether the value is truncated or not.
{
"items": [
{
"variableKey": 0,
"name": "string",
"value": "string",
"fullValue": "string",
"scopeKey": 0,
"processInstanceKey": 0,
"tenantId": "string",
"isTruncated": true
}
],
"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"
}