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.
Has it been fixed on 5.3.1 ?
Maciej Swiderski <swiderski.maciej> made a comment on jira JBPM-3882 no, it was not yet fixed and thus was not included in 5.3.1
Maciej Swiderski <swiderski.maciej> updated the status of jira JBPM-3882 to Resolved
Maciej Swiderski <swiderski.maciej> made a comment on jira JBPM-3882 fixed. Additionally LocalTaskService was improved to be thread safe(r) as it will create task service session per method call. LocalTaskService should always be used with JTA environment to ensure multiple methods executed on LocalTaskService instance will share same persistence context
What BRMS version will it be included for ? Since I can see in jira that it has been fixed on jBPM 6.0, I can conclude it would be available for BRMS 6, right ?
Will it be fixed in JBoss BRMS 6?
Yes, since it is already fixed in the latest community version, it will be picked up for BPMS 6.