Could you please provide your handler code (at least the part where you are
returning the value) and also the process definition?
Best Regards
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Blog @
http://ilesteban.wordpress.com
On Thu, Sep 27, 2012 at 11:48 AM, Manasi <manasi.a.damle(a)capgemini.com>wrote:
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-ac...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users