Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-7524

Review mechanism to keep worflowdata in sync with process instance state

XMLWordPrintable

    • 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.

              ftirados Francisco Javier Tirado Sarti
              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: