Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-4806

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

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • 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

              Unassigned Unassigned
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: