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;
System.out.println(wfi.getVariable("valor"));
Thank you.
Regards
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/615963#615963]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]