Dear Salatino,
Actually I have developed one workflow using
jbpm .In that workflow i have a user task .After completion of the user
task i wrote the code on
onexitaction of usertask .In that code i will update the data that was
inserted by user to db .Here I need to send a number( Ex:Patient Id) to
user.
I have tried in the following way.
kcontext.setVariable("genPatId","1234");
The problem is i have downloaded the code for console server and iam
changing the FormProcessingFacade.java file .The Problem iam facing is how
to
get the genPatId in FormProcessingFacade.java file.
Map dataMap = getProcessManagement().getInstanceData("68");
System.out.println("dataMap.patientName"+(String)dataMap.get(
"patientName"));
System.out.println("dataMap.patientId"+(String)dataMap.get("genPatId"
));
return Response.ok(SUCCESSFULLY_PROCESSED_INPUT).build();
iam getting genPatId as null value..
Please help me in knowing how to get the data that we will set on
onexitactions in FormProcessingFacade.java of consoleserver code.
Thanks&Regards,
G. Suresh Naidu
Tata Consultancy Services
Cell:- 8019844574
Mailto: gs.naidu(a)tcs.com
Website:
http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you