AnsweredAssumed Answered

Pooled actors value  invalid

Question asked by vinkk on Aug 12, 2009
Latest reply on Aug 13, 2009 by cheffilet
hi iam trying to reassign a task to a group, but i get follwoing errors.

i tried both these code.

1.

params.put(WorkflowModel.ASSOC_POOLED_ACTORS, (Serializable)pooledNodeRefs);
          
2.

params.put(WorkflowModel.ASSOC_POOLED_ACTORS, "testgroup");

but  i get following errors

      <tr><td><b>Message:</b></td><td>Wrapped Exception (with status template): Pooled actors value '



[Node Type: {http://www.alfresco.org/model/content/1.0}person,
Node Aspects: [{http://www.alfresco.org/model/system/1.0}referenceable, {http://www.alfresco.org/model/application/1.0}configurable],
Node Type: {http://www.alfresco.org/model/content/1.0}person,
Node Aspects: [{http://www.alfresco.org/model/content/1.0}ownable, {http://www.alfresco.org/model/application/1.0}configurable, {http://www.alfresco.org/model/system/1.0}referenceable],
Node Type: {http://www.alfresco.org/model/content/1.0}person,
Node Aspects: [{http://www.alfresco.org/model/application/1.0}configurable, {http://www.alfresco.org/model/content/1.0}ownable, {http://www.alfresco.org/model/system/1.0}referenceable],
Node Type: {http://www.alfresco.org/model/content/1.0}person,
Node Aspects: [{http://www.alfresco.org/model/application/1.0}configurable, {http://www.alfresco.org/model/content/1.0}ownable, {http://www.alfresco.org/model/system/1.0}referenceable]]'
is invalid</td></tr>

the error comes this line in jbpmengine 2184

  else if (key.equals(ContentModel.PROP_OWNER))
                {
                    if (value != null && !(value instanceof String))
                    {
                        throw new WorkflowException("Task owner '" + value + "' is invalid");
                    }


vin kk

Outcomes