Hello everybody,the query
List<HistoricProcessInstance> his =processEngine.getHistoryService()
.createHistoricProcessInstanceQuery()
.processInstanceId(((ExecutionEntity) execution).getProcessInstanceId())
.list();
returns a list of all history entries, instead of a single line as expected.And the single result query throws an exception
HistoricProcessInstance his =processEngine.getHistoryService()
.createHistoricProcessInstanceQuery()
.processInstanceId(((ExecutionEntity) execution).getProcessInstanceId())
.singleResult();
When I inspect the database table, there is only one record with the expected process instance id.Frauke