cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Group swimlane

army81
Champ in-the-making
Champ in-the-making
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?
1 REPLY 1

tekuento
Champ in-the-making
Champ in-the-making
Hi!

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

Sorry for my english 😉

Antonio J. Molina Gutiérrez