Hello all,

I use JBPM4.4, and call following method:

if (transition.getDestination().getType().equals("end")) {
    taskService.completeTask(taskId, transition.getName());
}

The transition is go to an END type destination. It works fine and activates the 'EndWorkflowListener',...
But the weird thing is that: There is still one task in table "jbpm4_task".
How to delete that task in "jbpm4_task" table?
What shall I do?

Thank you very much.

Regards,
Mead