<?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 Query for task start and end dates in Activiti in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/query-for-task-start-and-end-dates-in-activiti/m-p/128161#M90100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm looking for a solution to query completed tasks in Activiti by filtering on the completion date. Because once they're finished completed task entries are being moved into the act_hi_taskinst table by the BPMN engine i would expected the required filters to be in the HistoricTaskInstanceQuery class. However there's nothing like startedAfter/startedBefore and finishedAfter/finishedBefore methods like in the HistoricProcessInstanceQuery. The table has the start_time_ and end_time_ columns so there's no reason why this kind of query would be not possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there an other way to filter by these properties or currently the only way to get around this is to query the act_hi_tasks table directly bypassing the Activiti engine?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a question for this on StackOverflow: &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/16101151/query-for-task-start-and-end-dates-in-activiti" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/16101151/query-for-task-start-and-end-dates-in-activiti&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Apr 2013 09:21:49 GMT</pubDate>
    <dc:creator>inagy</dc:creator>
    <dc:date>2013-04-19T09:21:49Z</dc:date>
    <item>
      <title>Query for task start and end dates in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-for-task-start-and-end-dates-in-activiti/m-p/128161#M90100</link>
      <description>I'm looking for a solution to query completed tasks in Activiti by filtering on the completion date. Because once they're finished completed task entries are being moved into the act_hi_taskinst table by the BPMN engine i would expected the required filters to be in the HistoricTaskInstanceQuery cla</description>
      <pubDate>Fri, 19 Apr 2013 09:21:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-for-task-start-and-end-dates-in-activiti/m-p/128161#M90100</guid>
      <dc:creator>inagy</dc:creator>
      <dc:date>2013-04-19T09:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Query for task start and end dates in Activiti</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-for-task-start-and-end-dates-in-activiti/m-p/128162#M90101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use the NativeQuery functionality in the RuntimeService, this doesn't force you to bypass the activiti engine and allows you to get Task-object back from a native query. This is a workaround, you can file a Jira-issue with an "improvement", requesting for the additional methods. Or even better, create a pull-request for this &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2013 09:39:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-for-task-start-and-end-dates-in-activiti/m-p/128162#M90101</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-19T09:39:03Z</dc:date>
    </item>
  </channel>
</rss>

