Hi, I should add a collection of groups at swimlane, I try with the code : <swimlane name="AllGroup" > <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment"> <pooledactors>#{people.getGroup('GROUP_A),people.getGroup('GROUP_B),people.getGroup('GROUP_C')}</pooledactors> </assignment> </swimlane> but don't work ,how can I fix this?
The element pooledactors have a group name literal or Javascript expression in the form of #{expression} which resolves to a collection of Alfresco people nodes or an Alfresco group node. In your situation you have a collection of Alfresco group not a collection of Alfresco people!!! I think it's possible to write a javascript expression that builds a collection of people based on the collection of groups. See de Javascript API for Array. If you don't find the solution try to implement a new Assignment class. You have a mini-tutorial and example in our site : http://www.tekuento.net/?q=node/29