<?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 Completing multi-instance task is very slow, takes hours to complete each task when multi-instance has 1000+ tasks  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/completing-multi-instance-task-is-very-slow-takes-hours-to/m-p/214777#M167907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, We have a workflow with a multi-instance task and the multi-instance task is having between 2000 to 4000 running tasks. When we try to complete one of the task when there are thousands of multi-instance tasks running, it is taking hours to complete. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We investigated a bit and it looks like activiti is getting the parent execution and checking all the tasks present on the parent execution, probably to determine whether it should go to the next stage. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are using the below API call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;taskService.completeTask(taskId)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same completes quickly for single instance tasks or when there are very few tasks for the multi-instance task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help in resolving this is appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Vamsi&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2016 12:07:40 GMT</pubDate>
    <dc:creator>vamsimp</dc:creator>
    <dc:date>2016-04-26T12:07:40Z</dc:date>
    <item>
      <title>Completing multi-instance task is very slow, takes hours to complete each task when multi-instance has 1000+ tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-multi-instance-task-is-very-slow-takes-hours-to/m-p/214777#M167907</link>
      <description>Hello, We have a workflow with a multi-instance task and the multi-instance task is having between 2000 to 4000 running tasks. When we try to complete one of the task when there are thousands of multi-instance tasks running, it is taking hours to complete. We investigated a bit and it looks like act</description>
      <pubDate>Tue, 26 Apr 2016 12:07:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-multi-instance-task-is-very-slow-takes-hours-to/m-p/214777#M167907</guid>
      <dc:creator>vamsimp</dc:creator>
      <dc:date>2016-04-26T12:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Completing multi-instance task is very slow, takes hours to complete each task when multi-instance has 1000+ tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-multi-instance-task-is-very-slow-takes-hours-to/m-p/214778#M167908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can someone please answer the query &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 15:37:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-multi-instance-task-is-very-slow-takes-hours-to/m-p/214778#M167908</guid>
      <dc:creator>vamsimp</dc:creator>
      <dc:date>2016-04-29T15:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Completing multi-instance task is very slow, takes hours to complete each task when multi-instance has 1000+ tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-multi-instance-task-is-very-slow-takes-hours-to/m-p/214779#M167909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A multi instance task with thousands of instances … is not really what it was built for…. I can see why it would be slow .. indeed for determining if the MI is completed or not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 12:28:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-multi-instance-task-is-very-slow-takes-hours-to/m-p/214779#M167909</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-05-03T12:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Completing multi-instance task is very slow, takes hours to complete each task when multi-instance has 1000+ tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/completing-multi-instance-task-is-very-slow-takes-hours-to/m-p/214780#M167910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply. But even a multi instance with just around 200 tasks in taking around 2 mins to complete. Is there any workaround to make it work faster?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 12:43:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/completing-multi-instance-task-is-very-slow-takes-hours-to/m-p/214780#M167910</guid>
      <dc:creator>vamsimp</dc:creator>
      <dc:date>2016-05-03T12:43:01Z</dc:date>
    </item>
  </channel>
</rss>

