<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Group as multiInstance parameter in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/group-as-multiinstance-parameter/m-p/244114#M197244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a bit of a problem - I want to assign a task to a group and have (depending on the case) one or two users approve the task. I get the GROUP NAME in the workflow (I have a title of the document and depending on the title I decide the flow of the workflow). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to add the group as a collection and use multiInstance, but it doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone point me in the right direction?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use javascript in the process : this means that I wasn't able to have the group as a collection! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sending the authority name and this works fine when I insert this parameter as candidate groups [ activiti:candidateUsers="…."]. But then I would have to iterate the group members and kick the one that already approved. It doesn't seem like a nice solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I use a group name and say that from this group I need two people to approve? Perhaps in multiInstance?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would appreciate any ideas.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Irena&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 12:19:44 GMT</pubDate>
    <dc:creator>irenailievska1</dc:creator>
    <dc:date>2016-06-16T12:19:44Z</dc:date>
    <item>
      <title>Group as multiInstance parameter</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/group-as-multiinstance-parameter/m-p/244114#M197244</link>
      <description>Hello,I have a bit of a problem - I want to assign a task to a group and have (depending on the case) one or two users approve the task. I get the GROUP NAME in the workflow (I have a title of the document and depending on the title I decide the flow of the workflow). I tried to add the group as a c</description>
      <pubDate>Thu, 16 Jun 2016 12:19:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/group-as-multiinstance-parameter/m-p/244114#M197244</guid>
      <dc:creator>irenailievska1</dc:creator>
      <dc:date>2016-06-16T12:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Group as multiInstance parameter</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/group-as-multiinstance-parameter/m-p/244115#M197245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The group does need to be a java.util Collection for it to work. You can always try to have a listener before the step to create a new variable that is a collection and is used in the multi instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, you can use an expression like ${someBean.makeGroupCollection} where this is a bean that creates a collection.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2016 06:20:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/group-as-multiinstance-parameter/m-p/244115#M197245</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-06-21T06:20:35Z</dc:date>
    </item>
  </channel>
</rss>

