<?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 Workflow query - how to order tasks by pooledActor in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/workflow-query-how-to-order-tasks-by-pooledactor/m-p/140717#M98562</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looking at using the queryTasks() method on the WorkflowService to return tasks sorted by the pooledActor assigned to that task.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure how best to implement this, because I am pretty sure it is not supported out of the box. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PooledActors is an assoc on the task and the WorkflowTaskQuery.OrderBy only supports task properties as well as the JBPMEngine code underneath.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was hoping there was a cleaner solution than getting the results back and sorting them myself, but maybe not.&amp;nbsp; Open to suggestions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW - Using v2.1E&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2007 18:44:27 GMT</pubDate>
    <dc:creator>jdbrown</dc:creator>
    <dc:date>2007-11-02T18:44:27Z</dc:date>
    <item>
      <title>Workflow query - how to order tasks by pooledActor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-query-how-to-order-tasks-by-pooledactor/m-p/140717#M98562</link>
      <description>Looking at using the queryTasks() method on the WorkflowService to return tasks sorted by the pooledActor assigned to that task.&amp;nbsp; Not sure how best to implement this, because I am pretty sure it is not supported out of the box. PooledActors is an assoc on the task and the WorkflowTaskQuery.OrderBy o</description>
      <pubDate>Fri, 02 Nov 2007 18:44:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-query-how-to-order-tasks-by-pooledactor/m-p/140717#M98562</guid>
      <dc:creator>jdbrown</dc:creator>
      <dc:date>2007-11-02T18:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: Workflow query - how to order tasks by pooledActor</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/workflow-query-how-to-order-tasks-by-pooledactor/m-p/140718#M98563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the similar problem, need to get tasks by date range of certain custom properties. It was finally implemented by extending&amp;nbsp; JBPMEngine which gives you access to underlying hibernate session and you still have access to all methods which create mappings between JBPM and Alfresco objects. After that you have to expose your new query methods by creating custom service similar to workflow service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Denis&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Nov 2007 13:03:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/workflow-query-how-to-order-tasks-by-pooledactor/m-p/140718#M98563</guid>
      <dc:creator>dhalupa</dc:creator>
      <dc:date>2007-11-04T13:03:01Z</dc:date>
    </item>
  </channel>
</rss>

