JBoss Community

How do I exclude User in a swimlane

created by Gary Struthers in jBPM - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in jBPM at Community