<?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 Re: Convert Group of People to a Collection in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/convert-group-of-people-to-a-collection/m-p/9095#M4099</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I see I should use a REST call to the APS REST services, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;activiti-app/api/enterprise/groups/&amp;lt;group id&amp;gt;/users&lt;/PRE&gt;&lt;P&gt;And this will give me the list of users.&amp;nbsp; In the Response Mapping I can do things like data[0].email and place into a variable.&amp;nbsp; Is there a way to pull all data[X].email into a variable/array or can this be done via a Groovy script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Jul 2019 13:11:07 GMT</pubDate>
    <dc:creator>bigs4321</dc:creator>
    <dc:date>2019-07-18T13:11:07Z</dc:date>
    <item>
      <title>Convert Group of People to a Collection</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/convert-group-of-people-to-a-collection/m-p/9094#M4098</link>
      <description>I am building out a workflow where the user can select multiple groups of people for a later Mail Task process.&amp;nbsp; I need to convert the Group of People to a collection of email addresses and preferably via a Script Task listener in either javascript or groovy.Does anyone have any pointers on how to d</description>
      <pubDate>Wed, 17 Jul 2019 20:24:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/convert-group-of-people-to-a-collection/m-p/9094#M4098</guid>
      <dc:creator>bigs4321</dc:creator>
      <dc:date>2019-07-17T20:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Group of People to a Collection</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/convert-group-of-people-to-a-collection/m-p/9095#M4099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So I see I should use a REST call to the APS REST services, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;activiti-app/api/enterprise/groups/&amp;lt;group id&amp;gt;/users&lt;/PRE&gt;&lt;P&gt;And this will give me the list of users.&amp;nbsp; In the Response Mapping I can do things like data[0].email and place into a variable.&amp;nbsp; Is there a way to pull all data[X].email into a variable/array or can this be done via a Groovy script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jul 2019 13:11:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/convert-group-of-people-to-a-collection/m-p/9095#M4099</guid>
      <dc:creator>bigs4321</dc:creator>
      <dc:date>2019-07-18T13:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Group of People to a Collection</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/convert-group-of-people-to-a-collection/m-p/9096#M4100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also try (from a spring bean) &lt;EM&gt;groupService.getFunctionalGroup(groupId).getUsers().stream().map(user -&amp;gt; user.getEmail()).collect(Collectors.toList())&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jul 2019 10:07:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/convert-group-of-people-to-a-collection/m-p/9096#M4100</guid>
      <dc:creator>abbask01</dc:creator>
      <dc:date>2019-07-19T10:07:54Z</dc:date>
    </item>
  </channel>
</rss>

