Hi..

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.

Example: Suppose if john logged in to jbpm console and starts the process then the actorId of the HumanTask process is john.

Please Let me know is there any way to do it.

Please do the Needful.


Thanks&Regards,
G. Suresh Naidu
Tata Consultancy Services
Cell:- 8019844574
Mailto: gs.naidu@tcs.com
Website:
http://www.tcs.com
____________________________________________
Experience certainty.        IT Services
                       Business Solutions
                       Outsourcing
____________________________________________



From: Gs Naidu/TVM/TCS
To: Mauricio Salatino <salaboy@gmail.com>
Cc: jbpm-users@lists.jboss.org
Date: 08/13/2012 12:38 PM
Subject: Re: [jbpm-users] Identification Of the User who started the Process in JBPM




Thanks Mauricio for replying,

Actually i have written the following  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.

String lstrUSerId=(String)kcontext.getVariable("initiator");
System.out.println("lstrUSerId"+lstrUSerId);
kcontext.setVariable("name",lstrUSerId);

Please do the Needful.

Thanks&Regards,
G. Suresh Naidu
Tata Consultancy Services
Cell:- 8019844574
Mailto: gs.naidu@tcs.com
Website:
http://www.tcs.com
____________________________________________
Experience certainty.        IT Services
                       Business Solutions
                       Outsourcing
____________________________________________




From: Mauricio Salatino <salaboy@gmail.com>
To: gs.naidu@tcs.com
Cc: jbpm-users@lists.jboss.org
Date: 08/10/2012 10:49 PM
Subject: Re: [jbpm-users] Identification Of the User who started the Process in JBPM





Yes,
that's easy to do, the one calling startProcess() can insert a process variable called: initiator and then use that to assign the task.

Cheers

On Fri, Aug 10, 2012 at 2:34 PM, <gs.naidu@tcs.com> wrote:
Dear Sir,

                  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  a way to do it.




Thanks&Regards,
G. Suresh Naidu
Tata Consultancy Services
Cell:-
8019844574
Mailto:
gs.naidu@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


_______________________________________________
jbpm-users mailing list

jbpm-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbpm-users




--
 - MyJourney @
http://salaboy.wordpress.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @
http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -