Implicitly updating a variable and replacing it in the same command is not reflected in history

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: None
    • Component/s: engine
    • None

      delegate code such as:

      List<String> var = execution.getVariable("var");
      
      // update 1
      var.add("newElement");
      
      // update 2
      execution.setVariable("var", new ArrayList<String>());
      

      A somewhat realisitic use case would be a process where update 1 and update 2 are executed in two different service tasks.

      Update 1 is not reflected as a historic detail.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: