[CAM-7785] I can query historic task instances via business key Created: 09/May/17  Updated: 28/Jul/17  Resolved: 24/Jul/17

Status: Closed
Project: camunda BPM
Component/s: engine
Affects Version/s: None
Fix Version/s: 7.8.0, 7.8.0-alpha2

Type: Feature Request Priority: L3 - Default
Reporter: Christopher Zell Assignee: Smirnov Roman
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: 0 minutes
Time Spent: Not Specified
Original Estimate: 0 minutes


It is possible to query running tasks via business key, but not for historic task instances.
It should also be possible for the historic ones.

Reasoning from the forum post:
> Unfortunately it is not possible (as far as I can see) to use the BusinessKey as a filter
> criteria in the HistoricTaskInstanceQuery. That makes it unnecessary complicated to
> request all Tasks that belong to a process instance and its sub process instances.
> By now you first have to search all process instances with the BusinessKey and than
> iterate to find the tasks that belong to these process instances.

Generated at Sat Jul 20 22:24:45 CEST 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.