Method

GET

Parameters

Query Parameters

If set to true, a serializable variable will be deserialized on server side and transformed to JSON using POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API's classpath.

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.

Result

A JSON object of variables key-value pairs.Each key is a variable name and each value a variable value object that has the following properties:

  • objectTypeName: A string representation of the object's type name.
  • serializationDataFormat: The serialization format used to store the variable.

Response Codes

Example 1

GET /execution/anExecutionId/localVariables

Response

Example 2

GET /execution/anExecutionId/localVariables?deserializeValues=false

Response

  1. {
  2. "aVariableKey": {
  3. "type" : "Object",
  4. "valueInfo" : {
  5. "objectTypeName": "com.example.MyObject",
  6. "serializationDataFormat": "application/xml"
  7. }
  8. }