<?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 Kill parallel task  in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/kill-parallel-task/m-p/22397#M9810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help!!! I need some guidance with this problem, I have a parallel task runing but when i finish the antepenultimate task i need to kill the&amp;nbsp;other task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below there is an example, when I finish the task number three then the task number two must finish too&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Sep 2017 19:08:22 GMT</pubDate>
    <dc:creator>arag</dc:creator>
    <dc:date>2017-09-22T19:08:22Z</dc:date>
    <item>
      <title>Kill parallel task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/kill-parallel-task/m-p/22397#M9810</link>
      <description>Hi everybody!!Please help!!! I need some guidance with this problem, I have a parallel task runing but when i finish the antepenultimate task i need to kill the&amp;nbsp;other task.Below there is an example, when I finish the task number three then the task number two must finish tooThanks for your time :smi</description>
      <pubDate>Fri, 22 Sep 2017 19:08:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/kill-parallel-task/m-p/22397#M9810</guid>
      <dc:creator>arag</dc:creator>
      <dc:date>2017-09-22T19:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Kill parallel task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/kill-parallel-task/m-p/22398#M9811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;B&gt;ara giliel&lt;/B&gt;‌!&lt;/P&gt;&lt;P&gt;Can you to give more information about your workflow? You say:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;when I finish the task number three then the task number two must finish too&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's&amp;nbsp;answer some questions about expected result:&lt;/P&gt;&lt;P&gt;Should workflow end after task3&amp;nbsp;&lt;STRONG&gt;and&lt;/STRONG&gt; task2 have been completed both?&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Your сurrent bpmn model means that:&lt;OL&gt;&lt;LI&gt;task1 and task2 will be &lt;EM&gt;create&amp;nbsp;&lt;/EM&gt;in the same time;&lt;/LI&gt;&lt;LI&gt;workflow has been completed if:&lt;OL&gt;&lt;LI&gt;task3&amp;nbsp;&lt;STRONG&gt;and&lt;/STRONG&gt; after that&amp;nbsp;task 4 will be completed;&lt;/LI&gt;&lt;LI&gt;OR task 2 will be completed.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;BPMN notation allows one and more end events, but when&amp;nbsp;you reach any end event your workflow will be completed. One parallel gateway before tasks means that they will be create in same time, not complete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it necessary to complete task 2 and task 3 both before workflow completes, you must add one more parallel gateway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/16241_233453-kill-parallel-task.png" style="width: 620px; height: 272px;" /&gt;&lt;/P&gt;&lt;P&gt;If it necessary to complete task 2 when the task 3 completes&amp;nbsp;you may use inclusive gateway which:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;sources will be task 3 and task 2 both;&lt;/LI&gt;&lt;LI&gt;target: task 4 or end end.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Anyway, I can`t clearly understand conditions create\complete of 4th task: does it mandatory?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if &amp;nbsp;task 2 and task 3&amp;nbsp;&amp;nbsp;have same model types you can:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;make one task instead of 2 and 3;&lt;/LI&gt;&lt;LI&gt;use multi instance with a condition &amp;nbsp;&lt;EM&gt;nrOfCompletedInstances &amp;gt; 0.&amp;nbsp;&lt;/EM&gt;You can read more about it in the&amp;nbsp;&lt;A href="https://www.activiti.org/userguide/index.html#bpmnMultiInstance" rel="nofollow noopener noreferrer"&gt;Activiti userguide&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But last method be useful, if when the task 2 will be completed earlier than task 3, task 3 must be completed too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope, i have give you some ideas how to solve your problem!&lt;/P&gt;&lt;P&gt;If you have questions I will be glad to answer it. When the requirements are clear it is very easy to build right model &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 22:03:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/kill-parallel-task/m-p/22398#M9811</guid>
      <dc:creator>vhelmut</dc:creator>
      <dc:date>2017-09-22T22:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Kill parallel task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/kill-parallel-task/m-p/22399#M9812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victoria,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the workflow reach an end event (not terminate end event) , the workflow will not be completed if there is an active task , in this case , completing task 2 will not end the workflow and the model is correct, that's BPMN conform.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Sep 2017 12:01:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/kill-parallel-task/m-p/22399#M9812</guid>
      <dc:creator>bhchemss</dc:creator>
      <dc:date>2017-09-24T12:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Kill parallel task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/kill-parallel-task/m-p/22400#M9813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think throwing a signal after completing the task 3 to an boundary signal event in Task 2 could solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="16251" alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/16251_Capture.PNG" style="width: 620px; height: 237px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Sep 2017 12:09:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/kill-parallel-task/m-p/22400#M9813</guid>
      <dc:creator>bhchemss</dc:creator>
      <dc:date>2017-09-24T12:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Kill parallel task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/kill-parallel-task/m-p/22401#M9814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!!!! thanks!!! and thanks!!!!! you saved my life!!! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2017 14:15:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/kill-parallel-task/m-p/22401#M9814</guid>
      <dc:creator>arag</dc:creator>
      <dc:date>2017-10-02T14:15:52Z</dc:date>
    </item>
  </channel>
</rss>

