Description of problem: If we have a process that has a human task followed by a sub process and when completing the task and trying to signal the started subprocess on the same transaction, we have an error saying that the subprocess does not exist. If we use no transaction, it works. Version-Release number of selected component (if applicable): n/a How reproducible: always Steps to Reproduce: 1. Create a simple process that has a human task following by a subprocess with a signal 2. use the jBPM EJB API to handle the process and user tasks; 3. on the same transaction (you can use a stateless EJB method with TransactionAttribute(REQUIRES_NEW) or any other that will preserve the tx), start a new process instance, start and complete the task, retrieve the subprocess ID and try to signal it; Actual results: Error saying the process instance ID was not found. Expected results: Signal sent successfully. Additional info: A workaround is perform each action on a separated transaction or use no transaction at all in the client app.
fixed on master and 6.4.x: jbpm master: https://github.com/droolsjbpm/jbpm/commit/a355d715187051b0950d96f89a314e9c7591a509 6.4.x: https://github.com/droolsjbpm/jbpm/commit/1bd53c9ee6912c3248115cd14bac631418a5d1af
Verified on BPM Suite 6.3.0 ER1