Demian Calcaprina [
https://community.jboss.org/people/calca] created the discussion
"Re: can subprocess get its father process's parameter?"
To view the discussion, visit:
https://community.jboss.org/message/831855#831855
--------------------------------------------------------------
You have to:
- Create the variables in the subprocess.
- Use the parameters mapping to pass copy variables/expressions from parent process to
subprocess.
http://docs.jboss.org/jbpm/v5.4/userguide/ch.core-basics.html#d0e1827
http://docs.jboss.org/jbpm/v5.4/userguide/ch.core-basics.html#d0e1827
* +Parameter in/out mapping+: A sub-process node can also define in- and out-mappings for
variables. The variables given in the "in" mapping will be used as parameters
(with the associated parameter name) when starting the process. The variables of the child
process that are defined for the "out" mappings will be copied to the variables
of this process when the child process has been completed. Note that you can use
"out" mappings only when "Wait for completion" is set to true.
Hope this helps,
Demian
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/831855#831855]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]