[jboss-user] [JBoss jBPM] - Re: special task assignment

twiceknightly do-not-reply at jboss.com
Fri Jul 4 06:21:46 EDT 2008


Imagine a process with a single node that transitions back into itself.

Initially you want it assigned to a group so someone in that group can claim it (pull).

When someone claims it in the UI you will reassign it to that individual outside of the process e.g. with calls to jbpm like

getTaskForPooled ...
taskInstance.setActorId
(sorry cant remember the exact names of the API calls)

That task will now be assigned to the individual.  The problem is that once a transition is signalled in that task node the new task created will no longer be owned by that individual.  Hence the need for a node to be assigned to a group initially and then assigned to "previous" afer that.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4162510#4162510

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4162510



More information about the jboss-user mailing list