Variables set on sub process start miss in history

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 7.2.0, 7.0.6, 7.1.4, 7.2.0-alpha3
    • Affects Version/s: None
    • Component/s: 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)

            Assignee:
            Sebastian Menski
            Reporter:
            Thorben Lindhauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: