<font size=2 face="sans-serif">Dear Sir,</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 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 </font>
<br><font size=2 face="sans-serif">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.</font>
<br>
<br><font size=2 face="sans-serif">I have tried in the following way.</font>
<br>
<br><font size=1 face="Tahoma">kcontext.setVariable(</font><font size=1 color=#008000 face="Tahoma">&quot;<b>genPatId</b>&quot;</font><font size=1 face="Tahoma">,</font><font size=1 color=#008000 face="Tahoma">&quot;1234&quot;</font><font size=1 face="Tahoma">);</font>
<br>
<br><font size=2 face="sans-serif">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 </font>
<br><font size=2 face="sans-serif">get the </font><font size=1 color=#008000 face="Tahoma"><b>genPatId</b></font><font size=2 face="sans-serif">
in FormProcessingFacade.java file.</font>
<br>
<br><font size=2 face="Courier New">SUCCESSFULLY_PROCESSED_INPUT</font><font size=2 face="sans-serif">
:i need to append the patiet id that was generated on onexitaction of usertask
to this string.</font>
<br>
<br><font size=2 face="Courier New">&nbsp;Map dataMap = &nbsp;getProcessManagement().getInstanceData(</font><font size=2 color=#4200ff face="Courier New">&quot;68&quot;</font><font size=2 face="Courier New">);
</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; System.out.println(</font><font size=2 color=#4200ff face="Courier New">&quot;dataMap.patientName&quot;</font><font size=2 face="Courier New">+(String)dataMap.get(</font><font size=2 color=#4200ff face="Courier New">&quot;patientName&quot;</font><font size=2 face="Courier New">));</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; System.out.println(</font><font size=2 color=#4200ff face="Courier New">&quot;dataMap.patientId&quot;</font><font size=2 face="Courier New">+(String)dataMap.get(</font><font size=2 color=#4200ff face="Courier New">&quot;genPatId&quot;</font><font size=2 face="Courier New">));</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; </font>
<br><font size=2 face="Courier New">&nbsp; &nbsp; </font><font size=2 color=#820040 face="Courier New"><b>return</b></font><font size=2 face="Courier New">
Response.ok(SUCCESSFULLY_PROCESSED_INPUT).build();</font>
<br>
<br><font size=2 face="sans-serif">iam getting </font><font size=2 color=#4200ff face="Courier New">genPatId</font><font size=2 face="sans-serif">
as null value.. </font>
<br>
<br>
<br><font size=2 face="sans-serif">Please help me in knowing how to get
the data that we will set on onexitactions in &nbsp;FormProcessingFacade.java
of consoleserver code.</font>
<br>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">Thanks&amp;Regards,</font>
<br><font size=2 face="sans-serif">G. Suresh Naidu<br>
Tata Consultancy Services<br>
Cell:- 8019844574<br>
Mailto: gs.naidu@tcs.com<br>
Website: </font><a href=http://www.tcs.com/><font size=2 face="sans-serif">http://www.tcs.com</font></a><font size=2 face="sans-serif"><br>
____________________________________________<br>
Experience certainty. &nbsp; &nbsp; &nbsp; &nbsp;IT Services<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;Business Solutions<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;Outsourcing<br>
____________________________________________</font><p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>

<p></p>