HistoricActivityInstanceQuery search unfinished activities - always zero results

Description

Query for all unfinished Historyc Activity Instances using HistoricActivityInstanceQuery.

Actual result:

  • always get zero result

Expected results:

  • should return the entries that do NOT have an END_TIME (END_TIME is null)

The generated SQL query is:
select count(RES.ID_) from ACT_HI_ACTINST RES WHERE RES.END_TIME_ is null and RES.END_TIME_ is not null

Full unit test project attached.

Environment

All

Status

Assignee

Joram Barrez

Reporter

Vlad Stan

Labels

Components

Affects versions

Priority

Medium
Configure