<?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 Cancelling processes performance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cancelling-processes-performance/m-p/162509#M116386</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 in a case were we need to be able to remove running process instances very quickly. I did a test with a small workflow of ours that has a super process instance, a sub process instance with two multi instance tasks in it and 2 timer events attached. Reading through the API I don't have any choice but issuing a runtimeService.deleteProcessInstance(processInstanceId, reason); and do this in a loop iterating over all parent process instances. However sometimes it seems that a delete takes even around 100 ms which is a lot in respect to what should be done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using a Oracle 10g XE edition and running it all on my local machine. The history level is that standard and only some&amp;nbsp; (+- 10) start form variables are added when starting the workflow. If I look at the command doing the delete it seems to be doing a lot of stuff. Is there any way of improving the performance or deleting multiple processinstances in batch ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Aug 2013 15:24:45 GMT</pubDate>
    <dc:creator>pfeiffer</dc:creator>
    <dc:date>2013-08-19T15:24:45Z</dc:date>
    <item>
      <title>Cancelling processes performance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cancelling-processes-performance/m-p/162509#M116386</link>
      <description>Hi,I'm in a case were we need to be able to remove running process instances very quickly. I did a test with a small workflow of ours that has a super process instance, a sub process instance with two multi instance tasks in it and 2 timer events attached. Reading through the API I don't have any ch</description>
      <pubDate>Mon, 19 Aug 2013 15:24:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cancelling-processes-performance/m-p/162509#M116386</guid>
      <dc:creator>pfeiffer</dc:creator>
      <dc:date>2013-08-19T15:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Cancelling processes performance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cancelling-processes-performance/m-p/162510#M116387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The delete process instances needs to cleanup quite some stuff, but 100 ms is really a lot. Can you look for queries that are slow against your Oracle database. Maybe it's a matter of adding some indexes.&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>Wed, 21 Aug 2013 07:06:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cancelling-processes-performance/m-p/162510#M116387</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-08-21T07:06:29Z</dc:date>
    </item>
  </channel>
</rss>

