Get Variable Instances
Queries for historic variable instances that fulfill the given parameters. The size of the result set can be retrieved by using the Get Variable Instance Count method.
Request
- Base URL: http://localhost:8080/engine-rest
- URL: http://localhost:8080/engine-rest/history/variable-instance
- Auth: HTTP basic
Query parameters
Filter by variable name.
Restrict to variables with a name like the parameter.
Filter by variable value. Is treated as a String object on server side.
Match the variable name provided in variableName and variableNameLike case- insensitively. If set to true variableName and variablename are treated as equal.
Match the variable value provided in variableValue case-insensitively. If set to true variableValue and variablevalue are treated as equal.
Only include historic variable instances which belong to one of the passed and comma- separated variable types. A list of all supported variable types can be found here. Note: All non-primitive variables are associated with the type 'serializable'.
Include variables that has already been deleted during the execution.
Filter by the process instance the variable belongs to.
Only include historic variable instances which belong to one of the passed and comma-separated process instance ids.
Filter by the process definition the variable belongs to.
Filter by a key of the process definition the variable belongs to.
Only include historic variable instances which belong to one of the passed and and comma-separated execution ids.
Filter by the case instance the variable belongs to.
Only include historic variable instances which belong to one of the passed and and comma-separated case execution ids.
Only include historic variable instances which belong to one of the passed and and comma-separated case activity ids.
Only include historic variable instances which belong to one of the passed and and comma-separated task ids.
Only include historic variable instances which belong to one of the passed and and comma-separated activity instance ids.
Only include historic variable instances which belong to one of the passed and comma- separated tenant ids.
Only include historic variable instances that belong to no tenant. Value may only be true, as false is the default behavior.
Only include historic variable instances which belong to one of the passed and comma-separated variable names.
Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter.
Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter.
Pagination of results. Specifies the index of the first result to return.
Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left.
Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on server side (default true).
If set to true, a serializable variable will be deserialized on server side and transformed to JSON using Jackson's POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API's classpath.
If set to false, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML.
Note: While true is the default value for reasons of backward compatibility, we recommend setting this parameter to false when developing web applications that are independent of the Java process applications deployed to the engine.
Response
Request successful.
Changes
No recorded changes to this operation across all 1 revision of this API.