<?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: Deleting a MultiInstanceLoop sub process in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deleting-a-multiinstanceloop-sub-process/m-p/162366#M116253</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Im not sure if it's a bug or 'by design'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Immediately deleting the process manually sounds like an edge case. Or do you mean that the called process goes into an end state?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you provide a unit test with a simple process that demonstrates your use case, that would clarify a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2014 08:17:26 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-05-20T08:17:26Z</dc:date>
    <item>
      <title>Deleting a MultiInstanceLoop sub process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-a-multiinstanceloop-sub-process/m-p/162363#M116250</link>
      <description>HiI have a use case wherein I need to be able to 'delete' or immediately end a subprocess created from a multiinstance loop. I tries using the deleteProcessInstance API in the RuntimeService. This works fine but because the multiInstance loop run sequenctially it doesnt create the remaining subproce</description>
      <pubDate>Thu, 01 May 2014 01:09:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-a-multiinstanceloop-sub-process/m-p/162363#M116250</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2014-05-01T01:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a MultiInstanceLoop sub process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-a-multiinstanceloop-sub-process/m-p/162364#M116251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please disregard the above issue. There was a error in my tests. The sub processes do get created in parallel. But I have found another issue which on the surface looks like a bug. If I delete a sub process created by a multiInstance loop the parent process waits indefinitely for the killed sub process. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think when deleting a process, activiti should check if the process being deleted has a parent execution and if so update its loop variables (nrOfActiveInstances, nrOfCompletedInstances), so the parent doesnt end up waiting for a process that has been deleted. Does this sound right? Please confirm if I should open a bug for this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2014 20:26:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-a-multiinstanceloop-sub-process/m-p/162364#M116251</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2014-05-02T20:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a MultiInstanceLoop sub process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-a-multiinstanceloop-sub-process/m-p/162365#M116252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please let me know if I can provide more information or if I am unclear about the issue. If someone from the activiti team can just confirm whether this is a bug or not I can go ahead and create a jira issue for this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 21:58:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-a-multiinstanceloop-sub-process/m-p/162365#M116252</guid>
      <dc:creator>jorell</dc:creator>
      <dc:date>2014-05-19T21:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting a MultiInstanceLoop sub process</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deleting-a-multiinstanceloop-sub-process/m-p/162366#M116253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Im not sure if it's a bug or 'by design'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Immediately deleting the process manually sounds like an edge case. Or do you mean that the called process goes into an end state?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you provide a unit test with a simple process that demonstrates your use case, that would clarify a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 08:17:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deleting-a-multiinstanceloop-sub-process/m-p/162366#M116253</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-05-20T08:17:26Z</dc:date>
    </item>
  </channel>
</rss>

