<?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 destroy all async embedded subprocesses in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-destroy-all-async-embedded-subprocesses/m-p/155832#M110135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wrap the user_task_in _main_process in a embedded subprocess, with a boundary-event on it, with "cancelActivity=true". Have the successfull async subprocess trigger that boundary-event (e.g.. signal). When the boundary-event is intercepted, the scope will be destroyed and all scopes (subprocesses) in it are as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another solution is, in case all the async-subprocesses are the same, to use a multi-instance subprocess (parallel). Put a completion-condition on the multi-instance that is met when one of the subprocesses ends. if one of them ends, the "multi-instance" will end and destroy all other subprocesses part of this multi-instance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Oct 2013 10:24:10 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2013-10-02T10:24:10Z</dc:date>
    <item>
      <title>How to destroy all async embedded subprocesses</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-destroy-all-async-embedded-subprocesses/m-p/155831#M110134</link>
      <description>What I have:user_task_in _main_process from which I start many embedded subprocess by signal.What I want:When one of subprocesses achieve success, I want to complete it and destroy all other subprocesses. By destroy I mean stop it abruptly without further&amp;nbsp; continuation.What a problem:I suggest that</description>
      <pubDate>Wed, 02 Oct 2013 08:12:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-destroy-all-async-embedded-subprocesses/m-p/155831#M110134</guid>
      <dc:creator>fritz128</dc:creator>
      <dc:date>2013-10-02T08:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to destroy all async embedded subprocesses</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-destroy-all-async-embedded-subprocesses/m-p/155832#M110135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wrap the user_task_in _main_process in a embedded subprocess, with a boundary-event on it, with "cancelActivity=true". Have the successfull async subprocess trigger that boundary-event (e.g.. signal). When the boundary-event is intercepted, the scope will be destroyed and all scopes (subprocesses) in it are as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another solution is, in case all the async-subprocesses are the same, to use a multi-instance subprocess (parallel). Put a completion-condition on the multi-instance that is met when one of the subprocesses ends. if one of them ends, the "multi-instance" will end and destroy all other subprocesses part of this multi-instance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 10:24:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-destroy-all-async-embedded-subprocesses/m-p/155832#M110135</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-10-02T10:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to destroy all async embedded subprocesses</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-destroy-all-async-embedded-subprocesses/m-p/155833#M110136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same problem, so I followed the second solution with a multi instance subprocess as you can see attached, but I don't know where to add the completion-condition. Do you have any example ? Or in my example, did I forget something ? If yes, what and where, if no, where do I have to add the condition to destroy ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Aurelien&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 10:31:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-destroy-all-async-embedded-subprocesses/m-p/155833#M110136</guid>
      <dc:creator>aurelienpel</dc:creator>
      <dc:date>2014-11-12T10:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to destroy all async embedded subprocesses</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-destroy-all-async-embedded-subprocesses/m-p/155834#M110137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The completion condition is a property of the multi instance …. And it is not shown in the diagram. There is an example in the user guide that shows the xml.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Nov 2014 22:27:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-destroy-all-async-embedded-subprocesses/m-p/155834#M110137</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-19T22:27:27Z</dc:date>
    </item>
  </channel>
</rss>

