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

Variables set on sub process start miss in history

XMLWordPrintable

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

      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)

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: