[jboss-user] [jBPM] - Re: Use of process variables after a startProcess
Esteban Aliverti
do-not-reply at jboss.com
Wed May 11 22:40:13 EDT 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110511/eef64b8c/attachment.html
More information about the jboss-user
mailing list