If you are using re-usable processes, you need to configure the input/output variable mappings between the parent process and the child process.
I have a test scenario using re-usable subprocesses. You can take a look at it if you want:
https://github.com/esteban-aliverti/JBPM-Samples/tree/master/Simple-SubProcess-Sample
The test class is ReusableSubProcessTest.java.
The processes this test uses are:
https://github.com/esteban-aliverti/JBPM-Samples/blob/master/Simple-SubProcess-Sample/src/test/resources/process/reusableSubProcess-Parent.bpmn
https://github.com/esteban-aliverti/JBPM-Samples/blob/master/Simple-SubProcess-Sample/src/test/resources/process/reusableSubProcess-Parent.bpmnand
https://github.com/esteban-aliverti/JBPM-Samples/blob/master/Simple-SubProcess-Sample/src/test/resources/process/reusableSubProcess-Child.bpmn
Open the bpmn files in eclipse (or in a text editor if you are tough ;) ) and see the mapping I'm talking about.
Reply to this message by going to Community
Start a new discussion in jBPM at Community