<?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: How to cascade delete process instance using REST API? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-cascade-delete-process-instance-using-rest-api/m-p/203969#M157099</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 would say there are 2 possibilities:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Combine several rest requests to get list of parent &amp;lt;-&amp;gt; child process instances and delete all of them afterwards (there will be several transactions)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Implement your own rest service to cascade delete processes. (you can create pull request afterwards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jun 2014 06:23:45 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2014-06-30T06:23:45Z</dc:date>
    <item>
      <title>How to cascade delete process instance using REST API?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-cascade-delete-process-instance-using-rest-api/m-p/203968#M157098</link>
      <description>The question was asked here http://forums.activiti.org/content/how-cascade-delete-process-instance-rest-apiBut no real answer.For my case, what I have is:A parent workflow has a call activity task.The call activity task calls a child workflow.After the child workflow is called, I can see 2 process i</description>
      <pubDate>Fri, 27 Jun 2014 21:31:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-cascade-delete-process-instance-using-rest-api/m-p/203968#M157098</guid>
      <dc:creator>ssun</dc:creator>
      <dc:date>2014-06-27T21:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to cascade delete process instance using REST API?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-cascade-delete-process-instance-using-rest-api/m-p/203969#M157099</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 would say there are 2 possibilities:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Combine several rest requests to get list of parent &amp;lt;-&amp;gt; child process instances and delete all of them afterwards (there will be several transactions)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Implement your own rest service to cascade delete processes. (you can create pull request afterwards.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 06:23:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-cascade-delete-process-instance-using-rest-api/m-p/203969#M157099</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-06-30T06:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to cascade delete process instance using REST API?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-cascade-delete-process-instance-using-rest-api/m-p/203970#M157100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Martin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anything I can do at the BPMN level such us terminate the parent process whenever the child process ends/deleted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And how activiti end the parent process end when child process end? How was that implemented? Event/Message listener?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Gordon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Jul 2014 21:09:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-cascade-delete-process-instance-using-rest-api/m-p/203970#M157100</guid>
      <dc:creator>ssun</dc:creator>
      <dc:date>2014-07-01T21:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to cascade delete process instance using REST API?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-cascade-delete-process-instance-using-rest-api/m-p/203971#M157101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gordon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;whenever the child process ends.&lt;BR /&gt;…&lt;BR /&gt;And how activiti end the parent process end when child process end?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;When Child process ends - parent process can continue in the execution. (when there is end event - parent process ends too). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the case of child process delete, child is deleted, parent is kept in the waiting state.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 05:59:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-cascade-delete-process-instance-using-rest-api/m-p/203971#M157101</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-07-02T05:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to cascade delete process instance using REST API?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-cascade-delete-process-instance-using-rest-api/m-p/203972#M157102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Martin. And what I found out for the REST API is that if I delete the root parent process, all child process, grandchild process are all&amp;nbsp; deleted.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2014 19:19:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-cascade-delete-process-instance-using-rest-api/m-p/203972#M157102</guid>
      <dc:creator>ssun</dc:creator>
      <dc:date>2014-07-02T19:19:57Z</dc:date>
    </item>
  </channel>
</rss>

