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

Cannot modify a Process Instance with Local Task Variables

    XMLWordPrintable

    Details

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: