[jboss-user] [jBPM] - Re: jBPM 5.1 - How to read variable in a Java application

Itajubá Segundo do-not-reply at jboss.com
Tue Jul 19 02:47:11 EDT 2011

Itajubá Segundo [http://community.jboss.org/people/isegundo] created the discussion

"Re: jBPM 5.1 - How to read variable in a Java application"

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

Hi people. I found a solution using WorkflowProcessInstance. Here is the code:

Map<String, Object> params2 = new HashMap<String, Object>();
params2.put("valor", 20000);
ProcessInstance pi = ksession.startProcess("com.ims.teste.requisicao", params2);

WorkflowProcessInstance wfi = (WorkflowProcessInstance)pi;


Thank you.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110719/193e6ff7/attachment.html 

More information about the jboss-user mailing list