[jboss-user] [jBPM] - Re: Use of process variables after a startProcess

cheney-dut do-not-reply at jboss.com
Mon May 9 21:32:24 EDT 2011


cheney-dut [http://community.jboss.org/people/cheney-dut] created the discussion

"Re: Use of process variables after a startProcess"

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

--------------------------------------------------------------
*ProcessInstance pi = ksession.startProcess("com.sample.Hello", params);* 
*String result = (String) ((WorkflowProcessInstance)pi).getVariable("Object 1");*

It can get the variables, when the process has no sub-process.
But i have another quertion!
if i set the variables in the parent process instance, how can i get them in the sub-process instance?
Thank you!
--------------------------------------------------------------

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

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/20110509/2508e5dc/attachment.html 


More information about the jboss-user mailing list