On executing process if process executes without error we can get activiti instances details from act_hi_actinst table but if error occured in some task the details in act_hi_actinst is not persisting for successfully executed tasks.
For Exanple:
My process Looks like this
start -> task1-> task2->task3->end
task1 and task2 sucessfully executed but error occured in task3 but act_hi_actinst table does not store the detail of task1 and task2.
How can we store that info.
activiti bpmn
Hi Amar vaish!
I think if you want to get task detail, you should use table act_hi_taskinst. If process get error at task 3 like you said, you still can get details of task 1 and task 2 in taskinst table.
Hi Hao Nguyen
I have same problem.
My process: startEvent -> task1 -> task2 ->endEvent
My tasks are service task and it is not storing in act_hi_taskinst.
There is a table ACT_HI_ACTINST, but into it rows are added only when process finished successfully.
When i got error in task2, do i have a chance to get from some history table info, that process was started, finished task1 and got error on task2?
What's your service task doing for? If you assign some variable in your service task, you can check it form table act_hi_varinst. There is no table info for service task.
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.