<?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: Notify when tasks list changed in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/notify-when-tasks-list-changed/m-p/14418#M6336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, the event listener is not triggered until after the commit operation, so the task entity should actually be retrievable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Apr 2017 12:23:17 GMT</pubDate>
    <dc:creator>gdharley</dc:creator>
    <dc:date>2017-04-24T12:23:17Z</dc:date>
    <item>
      <title>Notify when tasks list changed</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/notify-when-tasks-list-changed/m-p/14415#M6333</link>
      <description>I have an application with lot of modules, one of them is the activiti BPM engine. I use elasticsearch (ES) as the datastore. There is also a web application, which serves as a trigger to executing the processes and providing data. Every process has its instance in the ES and the available list of t</description>
      <pubDate>Wed, 19 Apr 2017 08:55:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/notify-when-tasks-list-changed/m-p/14415#M6333</guid>
      <dc:creator>filip_majernik</dc:creator>
      <dc:date>2017-04-19T08:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Notify when tasks list changed</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/notify-when-tasks-list-changed/m-p/14416#M6334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what version of Activiti you are using, but if it is something relatively new, I would make use of the Event Handler mechanism that was added to the engine about a year ago:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.activiti.org/userguide/#eventDispatcher" title="https://www.activiti.org/userguide/#eventDispatcher" rel="nofollow noopener noreferrer"&gt;Activiti User Guide - Event Dispatcher&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Event handlers can be defined globally or for an individual process instance and can be mapped to a number of standard events (such as task creation).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding a global listener to the TASK_CREATED event should satisfy your needs.&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 20:11:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/notify-when-tasks-list-changed/m-p/14416#M6334</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-04-19T20:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Notify when tasks list changed</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/notify-when-tasks-list-changed/m-p/14417#M6335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is indeed possible. But the problem still is that the transaction most probably has not been completed yet. This way you can obtain the TASK entity, but when you in this moment query the BPM Runtime to get the list of tasks, it would not be present in the list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2017 12:04:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/notify-when-tasks-list-changed/m-p/14417#M6335</guid>
      <dc:creator>filip_majernik</dc:creator>
      <dc:date>2017-04-21T12:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Notify when tasks list changed</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/notify-when-tasks-list-changed/m-p/14418#M6336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, the event listener is not triggered until after the commit operation, so the task entity should actually be retrievable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 12:23:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/notify-when-tasks-list-changed/m-p/14418#M6336</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-04-24T12:23:17Z</dc:date>
    </item>
  </channel>
</rss>

