-
1. Re: Dynamic task assignment
calca Jan 15, 2013 5:13 PM (in response to roxy1987)1 of 1 people found this helpfulI 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:
could have injected the peopleAssignmentHelper, to be able to use different strategies.
Hope this helps,
Demian
-
2. Re: Dynamic task assignment
roxy1987 Jan 15, 2013 5:21 PM (in response to calca)Hey,
Thanks.
So there in fact is a Handler which can help me achieve what I am looking for. I actually read salaboy's post somewhere that there is no assignment handler in jbpm 5.
Well I cant access the link you posted from my office but will definitely look at it once I am home.
WorkItemHandler is providing me 2 methods. abortWorkItem and executeWorkItem. So what you are saying is using WorkItem and WorkItemManager arguments, I will be able to get my job done?
Regards.