I use JBPM 3.2.1 and the CancelProcessInstanceCommand, but it don't delete active jobs on the process instance.
I tried to use JobSession.deleteJobsForProcessInstance but it call the default hibernate transaction and it's a problem because Hibernate is not the transaction manager in my project, and DeleteJobsSynchronization.beforeCompletion() is never call.
Anyone have an alternative solution ?