<?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 Retrieve Historic Task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-historic-task/m-p/182780#M135910</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;Is there a way to return the most previously completed task generically? I know that you can use the HistoricTaskService to search for a historic task but I am not quite sure what to search on. You cannot use the previous task ID because the task has already been completed and therefore you have no way of retrieving the completed task ID. I also would not like to use the task name in case in the future the name of the task changes.&amp;nbsp; An example would be if both tasks A and B transition to task C when they are completed, is there a way to know once you are in task C if you got there from task A or task B?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2014 17:23:26 GMT</pubDate>
    <dc:creator>jrmich44</dc:creator>
    <dc:date>2014-06-05T17:23:26Z</dc:date>
    <item>
      <title>Retrieve Historic Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-historic-task/m-p/182780#M135910</link>
      <description>Hello,Is there a way to return the most previously completed task generically? I know that you can use the HistoricTaskService to search for a historic task but I am not quite sure what to search on. You cannot use the previous task ID because the task has already been completed and therefore you ha</description>
      <pubDate>Thu, 05 Jun 2014 17:23:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-historic-task/m-p/182780#M135910</guid>
      <dc:creator>jrmich44</dc:creator>
      <dc:date>2014-06-05T17:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Historic Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieve-historic-task/m-p/182781#M135911</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;could you try:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; historyService.createHistoricTaskInstanceQuery().orderByHistoricTaskInstanceEndTime().desc().listPage(0,1);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 05:55:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieve-historic-task/m-p/182781#M135911</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-06-06T05:55:57Z</dc:date>
    </item>
  </channel>
</rss>

