[jboss-user] [jBPM] - Re: Use of process variables after a startProcess
Esteban Aliverti
do-not-reply at jboss.com
Sat May 7 20:30:01 EDT 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110507/4e03415e/attachment.html
More information about the jboss-user
mailing list