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]

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to