-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
The Java API for starting a process instance with variables in return (ProcessInstantiationBuilder#executeWithVariablesInReturn may return deserialized or serialized variables, depending on what was put in.
The REST API should always return the serialized value. In its current implementation, it returns the deserialized value (and serializes it via Jackson) if the variable is deserialized, and else it uses the serialized value (https://github.com/camunda/camunda-bpm-platform/blob/7.6.0-alpha1/engine-rest/engine-rest/src/main/java/org/camunda/bpm/engine/rest/dto/VariableValueDto.java#L170-L175). For the sake of consistency, the REST API should always return the serialized variable value, regardless whether the value returned by the Java API is deserialized.
This is the controller panel for Smart Panels app
- is related to
-
CAM-6072 I can access variables after creating a process instance
- Closed