Tasks are not cleaned up in the DB when a process instance is cancelled
Issue
When a process instance is cancelled, the human tasks are set to a status of Exited. The TaskCleanupProcessEventListener is not removing the task, i18ntext or people assignments from the database like it does when a process instance is completed. It seems that the TaskCleanUpProcessListener removes only completed tasks and it does not clean the database when ksession.abortProcessInstance is called.
Environment
- JBoss Enterprise Business Rules Management System (BRMS)
- 5.3
- Red Hat JBoss BPM Suite (BPMS)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.