[jboss-user] [jBPM] - Dynamic task assignment

roxy1987 do-not-reply at jboss.com
Tue Jan 15 16:59:40 EST 2013

roxy1987 [https://community.jboss.org/people/roxy1987] created the discussion

"Dynamic task assignment"

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


I am in a scenario where I need to dynamically assign task to actors. But I dont wanna use expressions and variables. I believe there is no Assignment Handler in jbpm 5 unlike jbpm 4. So what I have in mind is to leave the actor ID parameter blank and while starting the process I can search my custom tables and match task names to get the appropriate actors and then may be map the tasks with the actors using jbpm API. Is there a possibility for such a design? I get the ProcessInstance object while starting a process. So I can use the process instance id for creating such a mapping. But I am not getting how to use the PI object.

Or may be some one could suggest a better way of achieving this.


Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130115/401e7db2/attachment.html 

More information about the jboss-user mailing list