-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
-
---
-
---
-
2022 Week 29-31 (from Jul 18), 2022 Week 32-34 (from Aug 8)
In order to keep the process instance aware of the changes in the "workflowdata", we currently need to force a variable change. That's necessary so things like ProcessEventListeners can be notified and the state persisted correctly. This forces us to manually update the variable everywhere it's used. The goal of this task is to propose a better mechanism to keep the json node stored in the "workflowdata" variable in sync with the state of the process without necessarily having to manually force a variable change. Another downside currently, is that we only notify about changes that happen in the entire object, not about properties. For example, if we add a new variable "name" in the json, the entire json node is announced as changed, whereas we could notify that only this new "name" variable was added.
- is related to
-
KOGITO-7523 Review Expression/places to check if workflowdata is changed without updating the process variable
- Resolved