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

Newly added service task not executed after using SetProcessDefinitionVersionCmd

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.0, 7.2.0-alpha4
    • Component/s: engine
    • Labels:
      None

      Description

      When using SetProcessDefinitionVersionCmd from within a service task, and the new process definition contains an additional service task immediately following the migration point, this additional service task is not executed. It seems the transitions of the current activity are cached.

      Example process, v1

      o - [migrate] - o

      Process v2:

      o - [migrate] - [second task] - o

      A failing unit test is available at https://github.com/jhorstmann/camunda-engine-unittest/tree/set-process-definition-version-clear-cached-activity

      I opened a pull request with a bugfix at https://github.com/camunda/camunda-bpm-platform/pull/88

        Attachments

          Activity

            People

            Assignee:
            thorben.lindhauer Thorben Lindhauer
            Reporter:
            jhorstmann Jörn Horstmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: