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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content