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

Cannot modify a Process Instance with Local Task Variables

XMLWordPrintable

      Problem:

      • Process Instance Modification fails with SQL constraint violation exception ACT_FK_VAR_EXE when
      • the new execution creates a local task variable
      • and the existing execution is canceled

      AT:

      • I can modify (create+cancel) an execution which creates a local task variable

      Hints:

      • the modification can be executed successful if the ordering of the instruction is switched (cancel before create)
      • it seems that the task variable instance is not updated on execution tree compaction (see org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity.moveTasksTo(ExecutionEntity)) if it is not persistent yet

        This is the controller panel for Smart Panels app

          1. scriptProcess.bpmn
            7 kB
            Philipp Ossler
          2. VariableEventListener.java
            1 kB
            Philipp Ossler

              Unassigned Unassigned
              philipp.ossler Philipp Ossler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: