<?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 Activiti notify group users by email in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-notify-group-users-by-email/m-p/38062#M16044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to send an emails to every users in the group as and when the new task is assigned to the group. I have written a TaskListener for that. I am trying to get all the user email ids from the group id but it is always returning empty user list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-java" style="color: #000000; background-color: #ffffff; font-size: 12.0pt;"&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;List&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;User&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; users &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Context&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getProcessEngineConfiguration&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getIdentityService&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;createUserQuery&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;memberOfGroup&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"2007"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;list&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;Also let me know if there is any better way to achieve the notifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2019 14:59:02 GMT</pubDate>
    <dc:creator>signjoy</dc:creator>
    <dc:date>2019-05-21T14:59:02Z</dc:date>
    <item>
      <title>Activiti notify group users by email</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-notify-group-users-by-email/m-p/38062#M16044</link>
      <description>Hi,I need to send an emails to every users in the group as and when the new task is assigned to the group. I have written a TaskListener for that. I am trying to get all the user email ids from the group id but it is always returning empty user list.List&amp;lt;User&amp;gt; users = Context.getProcessEngineC</description>
      <pubDate>Tue, 21 May 2019 14:59:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-notify-group-users-by-email/m-p/38062#M16044</guid>
      <dc:creator>signjoy</dc:creator>
      <dc:date>2019-05-21T14:59:02Z</dc:date>
    </item>
  </channel>
</rss>

