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

Demian Calcaprina do-not-reply at jboss.com
Tue Jan 15 17:13:43 EST 2013


Demian Calcaprina [https://community.jboss.org/people/calca] created the discussion

"Re: Dynamic task assignment"

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

--------------------------------------------------------------
I think you can create your own WorkItemHandler for the Human Task node. The current implemenation gets the "actorId" and "groupId" variables, but you could write your implementation.

In fact this handler:
 https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AbstractHTWorkItemHandler.java https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/process/workitem/wsht/AbstractHTWorkItemHandler.java

could have injected the peopleAssignmentHelper, to be able to use different strategies.


Hope this helps,

Demian
--------------------------------------------------------------

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

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/20130115/4b7f6525/attachment-0001.html 


More information about the jboss-user mailing list