Hello ,
I have developed a workflow using eclipse plugin , and activiti java api to run / manage this workflow.
Everything is going ok , however , im trying at the end of the process to print the path of tasks done by the process instance . Im using historicInsatnce as following:
List<HistoricActivityInstance> activities =
historyService.createHistoricActivityInstanceQuery()
.processInstanceId(processInstance.getId()).finished()
.orderByHistoricActivityInstanceEndTime().asc()
.list();
*The problem is :
This method is missing some tasks (usually the task just before the end event).So , although i know for sure that this task was executed , it is not included in the list and not printed.
How can this be solved ?
Thanks