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

Process engine exception when querying historic details with processInstanceId and executionId

XMLWordPrintable

      When executing a query like

      historyService.createHistoricDetailQuery().processInstanceId("").executionId("");

      a processEngineException is thrown.

      This is caused by missing "AND" in the SQL statement.
      https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/resources/org/camunda/bpm/engine/impl/mapping/entity/HistoricDetail.xml#L320-L343

      Could be fixed like this:
      https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/main/resources/org/camunda/bpm/engine/impl/mapping/entity/Task.xml#L313

        This is the controller panel for Smart Panels app

              miklas.boskamp Miklas Boskamp
              miklas.boskamp Miklas Boskamp
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: