Hardik Dave [https://community.jboss.org/people/hadik] created the discussion

"Re: Programmatically assigning a human task to a user/role in runtime"

To view the discussion, visit: https://community.jboss.org/message/647284#647284

--------------------------------------------------------------
Hi Arun,


     You can use expression #{userName}  as actorid where you are currently 
passing krisv and pass the userName as parameter at the time of creation of the 
process. For that you have to create the process variable named userName. And 
also it is essential that you add that user name to the taskSession.

         Or the other way you can use local task server and you do not need to 
add that user to taskSession. for that you have to use jbpm5.2 local task 
server.

          You can study the example  
https://community.jboss.org/people/bpmn2user/blog/2011/12/18/jbpm5-web-example--local-human-task
 
https://community.jboss.org/people/bpmn2user/blog/2011/12/18/jbpm5-web-example--local-human-task
 for local task server.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/647284#647284]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to