<?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: getting tasklist size as zero even though task has been assigned to specific user in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120147#M84677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you get the TaskService instance in your task-listener? You should use the delegateTask.getEngineServices().getTaskService() to force the task-query to use the connection/transaction that's currently active in order to see they tasks that are created by the currently running process. It's possible that the task for which the listener is being called (in case of create-listener) is not yet persisted in the database, so if you expect to get that task back, you're out of luck.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jun 2013 07:29:30 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2013-06-28T07:29:30Z</dc:date>
    <item>
      <title>getting tasklist size as zero even though task has been assigned to specific user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120143#M84673</link>
      <description>Hi,I am working on a POC to retrive the tasklist assigned to specific user - (after the task has been assigned), I am using task listeners and execution listeners to call java class user defined method, where i wrote the code to retrive the task list. I tried with task listeners event like create, a</description>
      <pubDate>Mon, 24 Jun 2013 14:46:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120143#M84673</guid>
      <dc:creator>dhayanidhypazha</dc:creator>
      <dc:date>2013-06-24T14:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: getting tasklist size as zero even though task has been assigned to specific user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120144#M84674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And in what environment is it not working?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 08:52:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120144#M84674</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-06-25T08:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: getting tasklist size as zero even though task has been assigned to specific user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120145#M84675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, Thanks a lot for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using Spring environment, H2 database, Tomcat server. Using eclipse Juno and testing the flow from Junit. I can able to retrive the task list if i place the logic inside junit test class but if i specify the logic in some other class and try to call from task listeners (user task) events, i can't able to retrive the task list it is always returning the task size as zero.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 15:55:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120145#M84675</guid>
      <dc:creator>dhayanidhypazha</dc:creator>
      <dc:date>2013-06-25T15:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: getting tasklist size as zero even though task has been assigned to specific user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120146#M84676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any one can help me on fixing this issue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 15:15:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120146#M84676</guid>
      <dc:creator>dhayanidhypazha</dc:creator>
      <dc:date>2013-06-27T15:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: getting tasklist size as zero even though task has been assigned to specific user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120147#M84677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you get the TaskService instance in your task-listener? You should use the delegateTask.getEngineServices().getTaskService() to force the task-query to use the connection/transaction that's currently active in order to see they tasks that are created by the currently running process. It's possible that the task for which the listener is being called (in case of create-listener) is not yet persisted in the database, so if you expect to get that task back, you're out of luck.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 07:29:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120147#M84677</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-06-28T07:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: getting tasklist size as zero even though task has been assigned to specific user</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120148#M84678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is working now, thx a lot Freder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 15:01:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-tasklist-size-as-zero-even-though-task-has-been-assigned/m-p/120148#M84678</guid>
      <dc:creator>dhayanidhypazha</dc:creator>
      <dc:date>2013-07-01T15:01:02Z</dc:date>
    </item>
  </channel>
</rss>

