4 Replies Latest reply: Dec 19, 2011 2:37 PM by Gary Struthers RSS

How do I exclude User in a swimlane

Gary Struthers Newbie

I have a swimlane with 3 user tasks. I need to ensure that once a user performs a task in that swimlane they can't perform another one. They should be allowed to perform tasks in other swimlanes.

https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/main/java/org/jbpm/task/PeopleAssignments.java Has

public void setExcludedOwners(List<OrganizationalEntity> excludedOwners)

 

https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/src/main/java/org/jbpm/task/service/TaskClient.java Has

public void getTasksAssignedAsExcludedOwner(String userId,

                                                String language,

                                                TaskSummaryResponseHandler responseHandler)

But I don't see how to use them