[
http://jira.jboss.com/jira/browse/JBPM-852?page=comments#action_12355162 ]
Ronald van Kuijk commented on JBPM-852:
---------------------------------------
in combination with this inner class:
public static class MultipleAssignmentHandler implements AssignmentHandler {
private static final long serialVersionUID = 1L;
public void assign(Assignable assignable, ExecutionContext executionContext) throws
Exception {
invocationCount++;
assignable.setPooledActors(new String[]{"me", "you",
"them"});
}
}
setPooledActors in AssignmentHandler doesn't work
-------------------------------------------------
Key: JBPM-852
URL:
http://jira.jboss.com/jira/browse/JBPM-852
Project: JBoss jBPM
Issue Type: Bug
Components: Core Engine
Affects Versions: jBPM 3.1.4
Environment: windows, jbpm-starters-kit-3.1.4
Reporter: Diego Tobaldi
Assigned To: Tom Baeyens
I'd implemented an AssignmentHandler and can“t to assign a task to several users.
Example:
public class TestAssignmentHandler implements AssignmentHandler {
public void assign(Assignable assignable, ExecutionContext executionContext) throws
Exception {
String[] actors= new String[]{"bert", "ernie"};
assignable.setActorId(null);
assignable.setPooledActors(actors);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira