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

Details

    • Bug Report
    • Resolution: Unresolved
    • L3 - Default
    • None
    • None
    • engine
    • None

    Description

      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.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:

                  Salesforce