<?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: Problem using Event Handlers in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-using-event-handlers/m-p/155362#M109714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You cannot rely on the DB to be consistent at the time the event-handlers are fired. Not only is the transaction not comitted, but some entities may have not been updated/flushed to the DB. Any entities that are related to the fired event can be accessed inside the event payload. This represents the current state, which *can* be different from the DB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, using the ActivitiEvent, casting to ActivitiEntityEvent and extracting the Task should get you to the assignee. There is a lot of documentation around the different types of events, maybe a good point to start…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2014 08:37:16 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2014-04-22T08:37:16Z</dc:date>
    <item>
      <title>Problem using Event Handlers</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-using-event-handlers/m-p/155361#M109713</link>
      <description>Event Handlers are introduced In Activiti 5.15I want to execute custom logic when the TASK_ASSIGNED&amp;nbsp; event is calledWhenever Task is Assigned to a user i want that Event listener should listen the TASK_ASSIGNED event and i want assignee(User) of task in the event TASK_ASSIGNEDI have created my Event</description>
      <pubDate>Mon, 21 Apr 2014 08:33:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-using-event-handlers/m-p/155361#M109713</guid>
      <dc:creator>dattu_dave</dc:creator>
      <dc:date>2014-04-21T08:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using Event Handlers</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-using-event-handlers/m-p/155362#M109714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You cannot rely on the DB to be consistent at the time the event-handlers are fired. Not only is the transaction not comitted, but some entities may have not been updated/flushed to the DB. Any entities that are related to the fired event can be accessed inside the event payload. This represents the current state, which *can* be different from the DB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, using the ActivitiEvent, casting to ActivitiEntityEvent and extracting the Task should get you to the assignee. There is a lot of documentation around the different types of events, maybe a good point to start…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 08:37:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-using-event-handlers/m-p/155362#M109714</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-04-22T08:37:16Z</dc:date>
    </item>
  </channel>
</rss>

