Gary Struthers [https://community.jboss.org/people/garyaiki] created the discussion
"Re: Proposed temporary and limited approach to supporting excluded owners" To view the discussion, visit: https://community.jboss.org/message/646765#646765 -------------------------------------------------------------- Excluded owners are needed for for peer review. The roles stay the same, unlike an approval process. The WS-HumanTask specification has generic roles with excluded owners but leaves much to be decided by implementers. Unlike other roles it should be dynamically updated when a user completes a task, and it's a negative query parameter. Also, an excludedOwners list must be specific to either roles, swimlanes or tasks within a process instance. jBPM makes the first owner of a task the owner of all following tasks in that role for the process instance. This saves unneeded task reassignment but use cases for excluded users shouldn't work this way. I think these use cases are necessary and sufficient. Main Use Case 1. user claims a task. 2. user completes the task and the process definition specifies that user is excluded from further tasks in a role for that process instance. 3. for the next task in that role call getPotentialOwners IN (roles) AND NOT IN (excludedOwners) 4. repeat step 1 Secondary Use Case 1. user claims a task which has excludedOwners. 2. user completes a task and the process definition specifies that the excludedOwners list for that process definition is cleared. 3. formerly excluded owner can claim next task. -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/646765#646765] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
