[jboss-user] [jBPM] - Re: Programmatically assigning a human task to a user/role in runtime
Hardik Dave
do-not-reply at jboss.com
Wed Jan 18 01:04:24 EST 2012
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120118/9c5ee427/attachment-0001.html
More information about the jboss-user
mailing list