[rules-users] Drools 5.4 final and jbpm: problem in acces process variable
Manasi
manasi.a.damle at capgemini.com
Thu Sep 27 05:48:33 EDT 2012
Hi esteben,
Hi I have done in the way u suggested,
But i am not getting the value from jbpm.
I have set the value in jbpm in service task like outputValue="abcd".
Empty value is retuened.
// Retrieving request parameters
Map<String, Object> parameterMap = new HashMap<String, Object>();
parameterMap.put("screenId",screenId);
parameterMap.put("outputValue","");
SimpleWorkItemHandler handler = new SimpleWorkItemHandler();
ksession.getWorkItemManager().registerWorkItemHandler("Log", handler);
ProcessInstance processInstance =ksession.startProcess("12",
parameterMap);
ksession.insert(processInstance);
ksession.fireAllRules();
String m =(String)
((WorkflowProcessInstance)processInstance).getVariable("outputValue");
--
View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-final-and-jbpm-problem-in-acces-process-variable-tp4019987p4019999.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list