I want to create a chart based on Activiti history tables. For creation of charts i want to get the status from history tables.
I can give the status by using process variable. But if task assigned to some other person the previous task process variables are replaced with current task process variable. But when i complete a task delete reason in act_hi_taskinst table is set as complete. I want to give a custom string while task complete. Is there any way to add deletereason while completing the task.