Execution

Get Local Execution Variables

Retrieves all variables of a given execution by id.

get/execution/{id}/localVariables

Request

  • Base URL: http://localhost:8080/engine-rest
  • URL: http://localhost:8080/engine-rest/execution/{id}/localVariables
  • Auth: HTTP basic

Path parameters

idstring required

The id of the execution to retrieve the variables from.

Query parameters

deserializeValuesboolean

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. Returns A JSON object of variables key-value pairs. Each key is a variable name and each value a VariableValueDto

object required

Changes