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
Hi
You are right! it is strange.
I thought only user tasks are queried by these queries , however reading docs shows otherwise .
Yes , i tried using HistoricTaskInstance indeed.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.