<?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 HistoricTaskInstanceQuery how to? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/historictaskinstancequery-how-to/m-p/125584#M88376</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would need to query (historyService.createHistoricTaskInstanceQuery()) for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;( tasks finished or started after specific date&amp;nbsp; ) &amp;amp;&amp;amp; (finished after their dueDate).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;*Questions*&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How to build such a query? (I did not see any possibility to build it with current HistoricTaskInstanceQuery, NativeHistoricTaskInstanceQuery depends on used DB.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can extend HistoricTaskInstanceQuery, or Does anybody see other solution for querying HistoricTaskInstances?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jan 2013 15:34:47 GMT</pubDate>
    <dc:creator>gromar</dc:creator>
    <dc:date>2013-01-31T15:34:47Z</dc:date>
    <item>
      <title>HistoricTaskInstanceQuery how to?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historictaskinstancequery-how-to/m-p/125584#M88376</link>
      <description>Hello,I would need to query (historyService.createHistoricTaskInstanceQuery()) for&lt;IMG id="smileysad" class="emoticon emoticon-smileysad" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; tasks finished or started after specific date&amp;nbsp; ) &amp;amp;&amp;amp; (finished after their dueDate).*Questions*How to build such a query? (I did not see any possibility to build it with current HistoricTaskInstanceQuery, Nat</description>
      <pubDate>Thu, 31 Jan 2013 15:34:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historictaskinstancequery-how-to/m-p/125584#M88376</guid>
      <dc:creator>gromar</dc:creator>
      <dc:date>2013-01-31T15:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: HistoricTaskInstanceQuery how to?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/historictaskinstancequery-how-to/m-p/125585#M88377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;NativeHistoricTaskInstanceQuery -&amp;gt; This is the way to go, if you don't want to build a custom activiti-engine.jar. See what SQL the normal HistricTaskInstanceQuery produces (if used as close as possible to your use case) and alter accordingly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't want to use a full custom SQL, you can alter the HistoricTaskInstanceQuery and *Impl and add all new properties you introduce to the HistoricTaskInstance.xml mapping file. There will be a "select***byQueryCriteria", this is where you should use the new introduced properties of the query to add additional fragments of SQL to the where-clause…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 07:49:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/historictaskinstancequery-how-to/m-p/125585#M88377</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-02-01T07:49:20Z</dc:date>
    </item>
  </channel>
</rss>

