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/604030#604030

--------------------------------------------------------------
Another case of magical casting:

*ProcessInstance pi = ksession.startProcess("com.sample.Hello", params);*

*String result = (String) 
((WorkflowProcessInstance)process).getVariable("Object 1");*

Please note that getVariable() returns an Object, so you will need to cast it 
to the real type.
--------------------------------------------------------------

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

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
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to