Esteban Aliverti [http://community.jboss.org/people/eaa] created the discussion

"Re: Use of process variables after a startProcess"

To view the discussion, visit: http://community.jboss.org/message/604842#604842

--------------------------------------------------------------
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
 
https://github.com/esteban-aliverti/JBPM-Samples/tree/master/Simple-SubProcess-Sample

The test class is  
https://github.com/esteban-aliverti/JBPM-Samples/blob/master/Simple-SubProcess-Sample/src/test/java/org/plugtree/training/jbpm/ReusableSubProcessTest.java
 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.bpmn
 
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
 
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
[http://community.jboss.org/message/604842#604842]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to