Tasks are not cleaned up in the DB when a process instance is cancelled

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.