-
Bug
-
Resolution: Done
-
Major
-
jBPM 6.1.0.Final
-
None
The problem appears with processes containing a human task and a sub-process where the sub-process also contains a human task.
If the whole process is completed the registered TaskCleanUpProcessEventListener is called for every completed sub-process and the tasks are cleaned up from the task table.
However, if the process is aborted while executing a sub-process, the TaskCleanUpProcessEventListener is called only for the directly started process.
This leaves the task entry from the other human task (started from the sub-process) in the task table.