<?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: task not persisted before TaskListener Event. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/task-not-persisted-before-tasklistener-event/m-p/225895#M179025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In a task listener you get the DelegateTask instance, which you can use to interact with the task itself, so in general it should be necessary to retrieve the task from the TaskService. Yes this is by design, the task will get persisted in the database when the whole transaction is finished, including sending the events.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Dec 2015 11:27:39 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2015-12-30T11:27:39Z</dc:date>
    <item>
      <title>task not persisted before TaskListener Event.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-not-persisted-before-tasklistener-event/m-p/225894#M179024</link>
      <description>I've discovered that while in the task listener, on CREATE or ASSIGNMENT, attempting to get the Task from the TaskService will always result in a null object.&amp;nbsp; When is the task actually persisted to the database? Only AFTER the task listener has completed?&amp;nbsp; I had been attempting to lookup the task f</description>
      <pubDate>Mon, 28 Dec 2015 00:30:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-not-persisted-before-tasklistener-event/m-p/225894#M179024</guid>
      <dc:creator>atirosselet</dc:creator>
      <dc:date>2015-12-28T00:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: task not persisted before TaskListener Event.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-not-persisted-before-tasklistener-event/m-p/225895#M179025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In a task listener you get the DelegateTask instance, which you can use to interact with the task itself, so in general it should be necessary to retrieve the task from the TaskService. Yes this is by design, the task will get persisted in the database when the whole transaction is finished, including sending the events.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 11:27:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-not-persisted-before-tasklistener-event/m-p/225895#M179025</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-12-30T11:27:39Z</dc:date>
    </item>
  </channel>
</rss>

