Hello,the new pooled tasks functionality in 2.0 is very useful. I've managed to get it working in my customs flows with:
<swimlane name="document-managers">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<pooledactors>#{bpm_groupAssignee}</pooledactors>
</assignment>
</swimlane>
The assigned group is selected in the property sheet when starting the workflow.According to the wiki, it's possible to use a group name literal here as well, this would mean the user doesn't have to pick one himself. I've tried:
<swimlane name="document-managers">
<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
<pooledactors>document-managers</pooledactors>
</assignment>
</swimlane>
Using this swimlane leads to an error, even though the document-managers group exists in the repo:
16:24:15,836 ERROR [org.alfresco.web.ui.common.Utils] A system error happened during the operation: Failed to signal transition 'open_signup' from workflow task 'jbpm$25'
org.alfresco.service.cmr.workflow.WorkflowException: Failed to signal transition 'open_signup' from workflow task 'jbpm$25'
at org.alfresco.repo.workflow.jbpm.JBPMEngine.endTask(JBPMEngine.java:1064)
at org.alfresco.repo.workflow.WorkflowServiceImpl.endTask(WorkflowServiceImpl.java:347)
I've also played around a bit with the new Javascript getGroup function but I don't seem to get it right. Any ideas?cheers,Roeland.