Task completion is not reflecting in all related tables after task completed

Once user complete the task, the task completing status is reflecting act_hi_actinst or act_hi_actinst and act_hi_taskinst but it’s not updating in the act_hi_actinst and act_hi_taskinst and act_ru_task tables. Suggest me how to prevent this issue.

Please be more specific.

  • Which data is present in which tables before task completion?
  • Which data has changed in which tables after task completion?
  • Which kind of changes are you missing?

@thorben

  1. Which data is present in which tables before task completion?
    Before task completion act_hi_actinst,act_hi_taskinst tables has end_time_ column is null and in the act_ru_task table user claimed task details available.

  2. Which data has changed in which tables after task completion?
    After task completion in the act_hi_actinst table end_time_ is updated with task completion date. but in the act_hi_taskinst table end_time_ is is null and delete_reason_ also null and act_ru_task table

  3. Which kind of changes are you missing?
    I assume, If task end_time is updated in the act_hi_actinst then act_hi_taskinst and act_ru_task also need to be updated. But this is not happening.

Could you maybe share a unit test on github such that I can reproduce this? You can fork the following repository to get started quickly: https://github.com/camunda/camunda-engine-unittest