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

byungwoojun do-not-reply at jboss.com
Sat May 7 15:39:09 EDT 2011


byungwoojun [http://community.jboss.org/people/byungwoojun] created the discussion

"Use of process variables after a startProcess"

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

--------------------------------------------------------------
When I call a process, I pass a Hahmap object as the startProcess parameter, e.g., 

Map<String, Object> params = new HashMap<String, Object>();
params.put("Object 1", obj1);
params.put("Object 2", obj2);
...
ProcessInstance pi = ksession.startProcess("com.sample.Hello", params);
...

After calling a process, I'd like to use process variables (e.g., response) from the process. How does the process the pass process variables back to the caller, so the caller can use variables which were created or modified in the process.

Thanks,
bwj
--------------------------------------------------------------

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

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/d02f43c2/attachment.html 


More information about the jboss-user mailing list