[jboss-user] [jBPM] - Re: How to retrieve parameters after Process finish

olddave do-not-reply at jboss.com
Thu Jul 14 15:44:24 EDT 2011


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

"Re: How to retrieve parameters after Process finish"

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

--------------------------------------------------------------
That seems convoluted? Doesn't something like this work?

[code]
    Map<String, Object> params = new HashMap<String, Object>();
    TransformData tData = new TransformData();
    tData.setValues(transform);
    params.put("transformData", tData);
    org.drools.runtime.process.ProcessInstance pInst = ksession.startProcess(transformationWorkflow.getUuid().toString().substring(1), params);
    tData = (TransformData) ksession.getEnvironment().get("transformData");

[/code]
--------------------------------------------------------------

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

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


More information about the jboss-user mailing list