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

Variables set on sub process start miss in history

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 7.2.0, 7.0.6, 7.1.4, 7.2.0-alpha3
    • None
    • engine
    • None

    Description

      Setting variables on a start event at event "start" is not reflected in the history tables.

      BPMN snippet:

      <startEvent id="theStart">
      <extensionElements>
      <activiti:executionListener event="start" expression="${execution.setVariable('aVariable', 'aValue')}"/>
      </extensionElements>
      </startEvent>

      Hint at solution:
      ExecutionEntity#createSubProcessInstance does not set the correct ProcessInstanceStartContext (i.e. HistoryAwareStartContext)

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              sebastian.menski Sebastian Menski
              thorben.lindhauer Thorben Lindhauer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce