We are using the history service in order to build some custom analytics UI in the following way:
historyService.createHistoricProcessInstanceQuery()
.tenantIdIn(currentTenant)
.startedAfter(range.from)
.startedBefore(range.until)
But experiencing very weird situation…
Assuming range=[2021-08-09, 2021-09-08] results are:
- A
- B
And with range=[2021-09-01,2021-09-08] results are:
- X
- Y
In my understanding the first call (the one with wider range) should have produced the following results:
- A
- B
- X
- Y
(or maybe in different order but still)
Is this correct or our assumption is wrong?