add getId() into HisctoricActivitiInstance and add search by id into HistoricActivitiInstanceQuery

Description

In integration with Liferay (as well as in any other external system used Activiti via API) it is required to store reference to specific HistoricActivitiInstance.
Unfortunately, id field (exists in HistoricActivitiInstanceEntity and mapped to primary key) is not present in interface, as well as search by this id is not exists in query.

BTW - it is not possible to use activityId - since in one process instance same activiti may appear several times (for example in case we have loops). So, pair processInstanceId + activityId cannot be used as unique key

Assignee

Tom Baeyens

Reporter

Alexey Kakunin

Labels

None

Fix versions

Priority

Critical
Configure