cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti End time and Duration not updated , even after process completed successfully

kunal014
Champ in-the-making
Champ in-the-making
Hi ,
 
   We are using the latest Activiti Version 5.21.0.  Facing strange issue.  The endTime is not getting updated in TaskInst history table although the process has completed successfully , without any exception.

Because of this the tasks is always shown on user queue.


using below query to get the tasks :  taskService.createTaskQuery().taskAssignee(userId)

Please suggest what step should we take to fix.

As this issue is not always appearing . It is happening like 2 out of 100 tasks.

We are running activiti integrated with spring.  

There is no exception in logs , when such cases happens.

Thanks
Kunal Kumar
2 REPLIES 2

vasile_dirla
Star Contributor
Star Contributor
Hi Kunal,
What DB are you using?
Can you provide a unit test which shows such a behaviour?

kunal014
Champ in-the-making
Champ in-the-making
We are using Oracle DB.  I tried to replicate using our standalone test case. But not able to replicate. One thing here would like to mention that in uat/production we are running activiti with spring boot.