<?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 Limitation on query tasks with variables in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/limitation-on-query-tasks-with-variables/m-p/205741#M158871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a limitation of 20000 for query tasks with variables in org.activiti.engine.impl.persistence.entity.TaskEntityManager&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; // setting max results, limit to 20000 results for performance reasons&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; taskQuery.setMaxResults(20000);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; taskQuery.setFirstResult(0);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, we need to query more that 20000 variables.. So, we have to override this class to be able to do our search, which is annoying&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't it better to implement this in the way which is configurable? So, user can choose the limitation by themselves. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2015 14:28:59 GMT</pubDate>
    <dc:creator>tonychou</dc:creator>
    <dc:date>2015-08-21T14:28:59Z</dc:date>
    <item>
      <title>Limitation on query tasks with variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/limitation-on-query-tasks-with-variables/m-p/205741#M158871</link>
      <description>There is a limitation of 20000 for query tasks with variables in org.activiti.engine.impl.persistence.entity.TaskEntityManager // setting max results, limit to 20000 results for performance reasons&amp;nbsp;&amp;nbsp;&amp;nbsp; taskQuery.setMaxResults(20000);&amp;nbsp;&amp;nbsp;&amp;nbsp; taskQuery.setFirstResult(0);But, we need to query more that 2000</description>
      <pubDate>Fri, 21 Aug 2015 14:28:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/limitation-on-query-tasks-with-variables/m-p/205741#M158871</guid>
      <dc:creator>tonychou</dc:creator>
      <dc:date>2015-08-21T14:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Limitation on query tasks with variables</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/limitation-on-query-tasks-with-variables/m-p/205742#M158872</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;It's true that having it configurable it's more flexible for the developers using it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(We'll be happy if you could create a PR for it.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Out of curiosity, why do you need to have so many results, what you would like to do with these results?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Usually I prefer to add some more restrictions on the query in order to have a smaller number of results (a more relevant set). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(I guess you are keeping one eye on the performance statistics when you are working with so many results from a single query)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 08:21:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/limitation-on-query-tasks-with-variables/m-p/205742#M158872</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-08-24T08:21:21Z</dc:date>
    </item>
  </channel>
</rss>

