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 with 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 /case-instance/aCaseInstanceId/variables/aVarName

Response

Example 2

GET /case-instance/aCaseInstanceId/variables/aVarName?deserializeValue=false

Response

  1. "value" : "ab",
  2. "valueInfo" : {
  3. "objectTypeName": "com.example.MyObject",
  4. "serializationDataFormat": "application/xml"
  5. }