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

Null ProcessDefinitionVersion on HistoricActivityInstanceEventEntity

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • 7.14.0
    • None
    • None

      Environment (Required on creation):

      Spring boot starter 7.14.0

      Description (Required on creation; please attach any relevant screenshots, stacktraces, log files, etc. to the ticket): 

      HistoricActivityInstanceEventEntity in implemented Event Listener returns null ProcessDefinitionVersion, despite returning correct ProcessDefinitionKey, ProcessDefinitionId and despite correct ProcessDefinitionVersion being returned when querying Process Instances from REST API History endpoint (GET /history/process-instance) and from REST API process-definition endpoint (GET /process-definition).

      Steps to reproduce (Required on creation):

      1. Implement onHistoryEvent listener, ex.

      @Component
      class HistoryListener {
      @EventListener
      public void onHistoryEvent(HistoricActivityInstanceEventEntity historyEvent)

      { Integer processDefinitionVersion = historyEvent.getProcessDefinitionVersion(); // processDefinitionVersion is null }

      }

      2. Deploy and instantiate some Process Definition

      3. Observe data in raised event

      Observed Behavior (Required on creation):

      getProcessDefinitionVersion() on HistoricActivityInstanceEventEntity returns null

      Expected behavior (Required on creation):

      getProcessDefinitionVersion() on HistoricActivityInstanceEventEntity should return correct Process Definition Version number.

       

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              wikar Witold Karas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: