<?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 counting HistoricTaskInstance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/counting-historictaskinstance/m-p/181490#M134620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to figure out how to count historic task instance. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;List&amp;lt;HistoricTaskInstance&amp;gt; taches = pe.getHistoryService().createHistoricTaskInstanceQuery().taskDefinitionKey(TaskDefinitionKey).taskCreatedOn(date).list();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; Return nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;List&amp;lt;HistoricTaskInstance&amp;gt; taches = pe.getHistoryService().createHistoricTaskInstanceQuery().taskDefinitionKey(TaskDefinitionKey).taskCreatedBefore(dayAfter).taskCreatedAfter(dayBefore).list();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; return a result&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like a bug. What's wrong ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Oct 2015 12:50:50 GMT</pubDate>
    <dc:creator>r3dge</dc:creator>
    <dc:date>2015-10-01T12:50:50Z</dc:date>
    <item>
      <title>counting HistoricTaskInstance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/counting-historictaskinstance/m-p/181490#M134620</link>
      <description>Hi,I'm trying to figure out how to count historic task instance. List&amp;lt;HistoricTaskInstance&amp;gt; taches = pe.getHistoryService().createHistoricTaskInstanceQuery().taskDefinitionKey(TaskDefinitionKey).taskCreatedOn(date).list();‍‍‍-&amp;gt; Return nothing.List&amp;lt;HistoricTaskInstance&amp;gt; taches = pe.get</description>
      <pubDate>Thu, 01 Oct 2015 12:50:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/counting-historictaskinstance/m-p/181490#M134620</guid>
      <dc:creator>r3dge</dc:creator>
      <dc:date>2015-10-01T12:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: counting HistoricTaskInstance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/counting-historictaskinstance/m-p/181491#M134621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The taskCreatedOn is very exact (depending on database timestamp resolution). So you're only going to get the tasks for that specific millisecond. Did you verify that the timestamp in the db is the exact (to the millisecond) of what you're passing as param?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 08:59:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/counting-historictaskinstance/m-p/181491#M134621</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-05T08:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: counting HistoricTaskInstance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/counting-historictaskinstance/m-p/181492#M134622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was trying to search on a specific simple date (without time). Now i understand the result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks !&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Oct 2015 11:06:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/counting-historictaskinstance/m-p/181492#M134622</guid>
      <dc:creator>r3dge</dc:creator>
      <dc:date>2015-10-05T11:06:43Z</dc:date>
    </item>
  </channel>
</rss>

