<font size=2 face="sans-serif">Hi..</font>
<br>
<br><font size=2 face="sans-serif">Actually i have created bpmn process.In
that i have a script task and a user task and i have uploaded the same
to Guvnor and i builded the package successfully.I need to assign the human
task with the person who logged in to jbpm console and started the process.</font>
<br>
<br><font size=2 face="sans-serif">Example: Suppose if john logged in to
jbpm console and starts the process then the actorId of the HumanTask process
is john.</font>
<br>
<br><font size=2 face="sans-serif">Please Let me know is there any way
to do it.</font>
<br>
<br><font size=2 face="sans-serif">Please do the Needful.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Thanks&amp;Regards,<br>
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>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Gs Naidu/TVM/TCS</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">Mauricio Salatino &lt;salaboy@gmail.com&gt;</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">jbpm-users@lists.jboss.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">08/13/2012 12:38 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [jbpm-users] Identification Of the
User who started the Process in JBPM</font></table>
<br>
<hr noshade>
<br>
<br><font size=2 face="sans-serif">Thanks Mauricio for replying,</font>
<br>
<br><font size=2 face="sans-serif">Actually i have written the following
&nbsp;code in script task and i want to assign the name value to an actor
in userTask.Iam getting null value with the following code.</font>
<br>
<br><font size=1 face="Tahoma">String lstrUSerId=(String)kcontext.getVariable(</font><font size=1 color=#008000 face="Tahoma">&quot;initiator&quot;</font><font size=1 face="Tahoma">);</font>
<br><font size=1 face="Tahoma">System.out.println(</font><font size=1 color=#008000 face="Tahoma">&quot;lstrUSerId&quot;</font><font size=1 face="Tahoma">+lstrUSerId);</font>
<br><font size=1 face="Tahoma">kcontext.setVariable(</font><font size=1 color=#008000 face="Tahoma">&quot;name&quot;</font><font size=1 face="Tahoma">,lstrUSerId);</font>
<br>
<br><font size=1 face="Tahoma">Please do the Needful.</font>
<br>
<br><font size=2 face="sans-serif">Thanks&amp;Regards,<br>
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>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">From:</font>
<td><font size=1 face="sans-serif">Mauricio Salatino &lt;salaboy@gmail.com&gt;</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">To:</font>
<td><font size=1 face="sans-serif">gs.naidu@tcs.com</font>
<tr>
<td valign=top><font size=1 color=#5f5f5f face="sans-serif">Cc:</font>
<td><font size=1 face="sans-serif">jbpm-users@lists.jboss.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Date:</font>
<td><font size=1 face="sans-serif">08/10/2012 10:49 PM</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Subject:</font>
<td><font size=1 face="sans-serif">Re: [jbpm-users] Identification Of the
User who started the Process in JBPM</font></table>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Yes,</font>
<br><font size=3>that's easy to do, the one calling startProcess() can
insert a process variable called: initiator and then use that to assign
the task.</font>
<br>
<br><font size=3>Cheers<br>
</font>
<br><font size=3>On Fri, Aug 10, 2012 at 2:34 PM, &lt;</font><a href=mailto:gs.naidu@tcs.com target=_blank><font size=3 color=blue><u>gs.naidu@tcs.com</u></font></a><font size=3>&gt;
wrote:</font>
<br><font size=3 face="sans-serif">Dear Sir,</font><font size=3> <br>
</font><font size=3 face="sans-serif"><br>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Actually
Iam developing Workflow for my project.In that workflow i need to assign
the task to the person who started the Process.Please let me if there is
&nbsp;a way to do it.</font><font size=3> <br>
<br>
<br>
</font><font size=3 face="sans-serif"><br>
Thanks&amp;Regards,<br>
G. Suresh Naidu<br>
Tata Consultancy Services<br>
Cell:- </font><a href=tel:8019844574 target=_blank><font size=3 color=blue face="sans-serif"><u>8019844574</u></font></a><font size=3 face="sans-serif"><br>
Mailto: </font><a href=mailto:gs.naidu@tcs.com target=_blank><font size=3 color=blue face="sans-serif"><u>gs.naidu@tcs.com</u></font></a><font size=3 face="sans-serif"><br>
Website: </font><a href=http://www.tcs.com/ target=_blank><font size=3 color=blue face="sans-serif"><u>http://www.tcs.com</u></font></a><font size=3 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>
<br><font size=3>=====-----=====-----=====<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</font>
<br><font size=3><br>
_______________________________________________<br>
jbpm-users mailing list</font><font size=3 color=blue><u><br>
</u></font><a href="mailto:jbpm-users@lists.jboss.org"><font size=3 color=blue><u>jbpm-users@lists.jboss.org</u></font></a><font size=3 color=blue><u><br>
</u></font><a href="https://lists.jboss.org/mailman/listinfo/jbpm-users" target=_blank><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/jbpm-users</u></font></a><font size=3><br>
</font>
<br><font size=3><br>
</font>
<br>
<br><font size=3>-- <br>
&nbsp;- MyJourney @ </font><a href=http://salaboy.wordpress.com/ target=_blank><font size=3 color=blue><u>http://salaboy.wordpress.com</u></font></a>
<br><font size=3>&nbsp;- Co-Founder @ </font><a href=http://www.jugargentina.org/ target=_blank><font size=3 color=blue><u>http://www.jugargentina.org</u></font></a><font size=3><br>
&nbsp;- Co-Founder @ </font><a href=http://www.jbug.com.ar/ target=_blank><font size=3 color=blue><u>http://www.jbug.com.ar</u></font></a><font size=3><br>
&nbsp;<br>
&nbsp;- Salatino &quot;Salaboy&quot; Mauricio -</font>
<br>
<br>
<br>
<br>