04-03-2019 08:42 AM
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
04-04-2019 11:43 PM
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.
06-17-2019 01:53 PM
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?
06-19-2019 12:26 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.