[jboss-user] [JBoss Seam] - Unassign Task

damianharvey do-not-reply at jboss.com
Fri Jul 27 06:34:15 EDT 2007

I was searching for a way to return a task to the pooled tasks (ie. unassign it). 

This works for me and others may find it useful:

  | jbpmContext.getTaskMgmtSession().loadTaskInstance(taskId).setActorId(null);	
where taskId is the id (type long) passed into the method via a request parameter.

Would be handy if you could call setActor on the taskInstance returned from the taskInstanceList but it returns org.jbpm.taskmgmt.exe.TaskInstance which  as it isn't a Seam component, can't be called from EL. Would be super-handy if you could just call task.unassign()

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

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

More information about the jboss-user mailing list