Discussion:
[jboss-user] [jBPM] - Getting variable value from subprocess in JBPM Designer
maxur
2013-02-05 11:54:14 UTC
Permalink
maxur [https://community.jboss.org/people/maxur] created the discussion

"Getting variable value from subprocess in JBPM Designer"

To view the discussion, visit: https://community.jboss.org/message/796124#796124

--------------------------------------------------------------
Hi,

how can I forward variable value from subprocess  to process?

Simple example:

*Main Process:* Start -> Subprocess -> ScriptTask -> End
*Subprocess:* Start -> HumanTask -> End                                   {in this subprocess I input variable ID}

I would like to forward ID value to Main process, what's the most common way to do that in JBPM Designer (5.4)?

Thanks.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/796124#796124]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Demian Calcaprina
2013-02-05 12:12:11 UTC
Permalink
Demian Calcaprina [https://community.jboss.org/people/calca] created the discussion

"Re: Getting variable value from subprocess in JBPM Designer"

To view the discussion, visit: https://community.jboss.org/message/796126#796126

--------------------------------------------------------------
In the parent process, in the subprocess node, you have to map the subprocess variable to a parent process variable, with the output set and assignments..

HTH

Demian
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/796126#796126]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
maxur
2013-02-05 12:20:55 UTC
Permalink
maxur [https://community.jboss.org/people/maxur] created the discussion

"Re: Getting variable value from subprocess in JBPM Designer"

To view the discussion, visit: https://community.jboss.org/message/796129#796129

--------------------------------------------------------------
Can you please explain that in more details? In parent process in my subprocess node I can set DataInputSet, DataOutputSet and Assignements. But how to access my "ID" variable?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/796129#796129]

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