When an object variable is updated implicitly (e.g. by adding an object to a list without subsequent #setVariable call), the variable update is not propagated as a history event. The updated value is therefore not reflected in the history tables.
General problem when fixing this:
We don't know when an object is implicitly updated and therefore don't know the execution/activity instance id that is valid at that point in time. It could even be that this variable is not updated in the context of an activity at all but aside from it (e.g. in a custom command outside of an API call). So getting the history entirely right is impossible.
Test case:
https://github.com/camunda/camunda-bpm-platform/commit/412bb1c4ad8ae3c3e4ccb63fe633e8f6a5e795b0
This is the controller panel for Smart Panels app
- is duplicated by
-
CAM-3945 History not updated for implicit modified serializable values
- Closed
- is related to
-
CAM-3222 Cannot implicitly update empty list variable with Json variables
- Closed
-
CAM-4802 Loading an object var which is concurrently deleted fails
- Closed
-
CAM-4793 I can read documentation about implicit variable updates
- Open
-
CAM-4805 On implicit object value update, historic properties activityInstanceId and executionId are incorrect
- Open
-
CAM-4806 Implicitly updating a variable and replacing it in the same command is not reflected in history
- Open
- links to