<?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 Re: Sorting process instances by 'start time' in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64286#M40504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;how important it is? See &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-789" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-789&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Dec 2011 11:00:35 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2011-12-06T11:00:35Z</dc:date>
    <item>
      <title>Sorting process instances by 'start time'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64279#M40497</link>
      <description>Hi,I am right that there is no ability to sort process instances by 'start time' in Activiti-API? If so, can I create JIRA issue for this? Or there is some reason not to implement this?</description>
      <pubDate>Thu, 24 Nov 2011 09:43:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64279#M40497</guid>
      <dc:creator>partizano</dc:creator>
      <dc:date>2011-11-24T09:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting process instances by 'start time'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64280#M40498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you're right, and there's no specific reason that it isn't available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2011 14:09:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64280#M40498</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-11-24T14:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting process instances by 'start time'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64281#M40499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe it is not necessary. process instance id's are taken from sequence, so they are always ascending.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the the result will be the same no matter sort is done based on instance id or start time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ExecutionQuery.orderByProcessInstanceId&amp;nbsp; already provides ordering capability based on&amp;nbsp; process instance id.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So I think there is no need to add another sort method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it so ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Dec 2011 20:05:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64281#M40499</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2011-12-03T20:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting process instances by 'start time'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64282#M40500</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;There's no start time in the ProcessInstance object.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The HistoryService and the HistoricProcessInstance provide the query functionality based on the start time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 09:36:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64282#M40500</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-12-05T09:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting process instances by 'start time'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64283#M40501</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;SPAN&gt;So do you also agree that it is not necessary to ProcessInstanceQuery.orderByProcessStartTime() and ProcessInstanceQuery.orderByProcessInstanceId is enough and will serve the same purpose ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, maybe this issue should be set to fixed or will not be done status.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have posted a little bit more explanation in related jira issue (&lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-1004" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-1004&lt;/A&gt;&lt;SPAN&gt;) to more clarify it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 11:20:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64283#M40501</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2011-12-05T11:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting process instances by 'start time'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64284#M40502</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 agree that start time should not be added to ProcessInstanceQuery but for a different reason.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There's no start time available in the database, so it's not possible to sort on start time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead you can use the HistoricProcessInstanceQuery to sort process instances based on start time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 13:29:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64284#M40502</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-12-05T13:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting process instances by 'start time'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64285#M40503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if it is a real need and what Ronald has said in related Jira issue should be considered (assumption of not ascending id generator), then there is a possibility to join the act_ru_execution.proc_inst_id to act_hi_procinst.proc_int_id and get the start time. I had a glance at code, it seems that the history record is created as soon as process instance is created with start time, so it is possible to do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But the question is how much is important to support non default UUID generator. I feel it does not worth the effort.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 21:23:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64285#M40503</guid>
      <dc:creator>smirzai</dc:creator>
      <dc:date>2011-12-05T21:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting process instances by 'start time'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64286#M40504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;how important it is? See &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-789" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-789&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Dec 2011 11:00:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64286#M40504</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-12-06T11:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting process instances by 'start time'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64287#M40505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Resurrecting this old thread: we experienced the exact deadlock described in&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-789" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-789&lt;/A&gt;&lt;SPAN&gt;, and as a result we are considering using the StrongUuidGenerator - which means we won't be able to use the executionID to replace startTime in sorts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We definitely need to be able to sort/paginate on startTime, and I am a bit concerned about using the historical APIs to get information about active processes… this seems wrong &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any strong design reason why we can be assured that this is a sustainable approach in the long term? Will a historic entry be created for every process started, at least as soon as it reaches its first asynchronous continuation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Franck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:39:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64287#M40505</guid>
      <dc:creator>franck102</dc:creator>
      <dc:date>2015-03-23T15:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting process instances by 'start time'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64288#M40506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; Will a historic entry be created for every process started, at least as soon as it reaches its first asynchronous continuation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, if your history is not disabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree it's not the best solution and that a start time on the process instance would be good to have for sure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 07:26:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64288#M40506</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-31T07:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sorting process instances by 'start time'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64289#M40507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How is ordering by task id or process instance id useful, when it is ordered alphabetically and not numerically? I need show active process instances ordered in time when they were created - how can I accomplish that?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 17:22:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/sorting-process-instances-by-start-time/m-p/64289#M40507</guid>
      <dc:creator>froxcz</dc:creator>
      <dc:date>2016-10-24T17:22:11Z</dc:date>
    </item>
  </channel>
</rss>

