<?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: Multi Instance loop in Activiti BPM in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244453#M197583</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sravani!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume you created event subprocesses for each execution of user task, including those added later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Make java delegate that goes through tasks of this process and checks every task for completion. You can store tasks references in some process level variable or make some task variables for filtering on them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After that you only need to filter out one execution to proceed. It can be done through process level variable in exclusive part of workflow flow - check its existance and if it does exist, end execution. Otherwise set variable and continue workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2016 10:11:09 GMT</pubDate>
    <dc:creator>warper</dc:creator>
    <dc:date>2016-09-16T10:11:09Z</dc:date>
    <item>
      <title>Multi Instance loop in Activiti BPM</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244445#M197575</link>
      <description>Hi,I am new to activiti and i need help for designing one scenario in workflow. Below is the scenario.I am using MultiInstance loop(Call Activity) for creating parlell tasks in my workflow. If user enters value as 2 then it's creating 2 parlell tasks and once the completion of those two parlell task</description>
      <pubDate>Wed, 13 Apr 2016 14:56:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244445#M197575</guid>
      <dc:creator>srikanth_gandra</dc:creator>
      <dc:date>2016-04-13T14:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Instance loop in Activiti BPM</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244446#M197576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Srikanth,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dynamic multiinstance counter update is not supported. Try to solve it in another way. (e.g. Signal start event)&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>Thu, 14 Apr 2016 12:50:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244446#M197576</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-04-14T12:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Instance loop in Activiti BPM</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244447#M197577</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;Thank you very much for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please help me how to achieve the above scenario? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is my scenario in detail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have created a Call activiti and attached a subprocess to that call activiti. That subprocess contains a user task and a service task. When user enters 2 and its creating 2 user tasks for 2 users. Now If user updates that value to 3, then it should create another user task in the same subprocess instance along with other two active tasks. Please help me how to achive this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Srikanth&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 15:39:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244447#M197577</guid>
      <dc:creator>srikanth_gandra</dc:creator>
      <dc:date>2016-04-19T15:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Instance loop in Activiti BPM</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244448#M197578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Srikanth,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g. :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;use message/signal start event to start process instead of multiinstance task. When user sets 2 -&amp;gt; send 2 messages/signals to start process instances. If user sets 1 -&amp;gt; logic must somehow choose which process to delete. If he sets 3 -&amp;gt; logic must recognize to send another message/signal to start process.&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, 20 Apr 2016 06:29:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244448#M197578</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-04-20T06:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Instance loop in Activiti BPM</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244449#M197579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using multiinstance loop to create parlell user tasks. If user enters 2 then it will start the multiinstance parlell call activiti and creates 2 parlell uses tasks. Once the completion of those two user tasks then it will move to next activiti in the work flow. If user updates the counter to 3 then it should add another new task to the multiinstance call activiti along with other two tasks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So is it possible to achieve this with out using Multiinstance loop and by using message/signal events?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly help me&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Srikanth&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 08:43:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244449#M197579</guid>
      <dc:creator>srikanth_gandra</dc:creator>
      <dc:date>2016-04-20T08:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Instance loop in Activiti BPM</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244450#M197580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, we currently don't support adding/removing instances from the multi instance at runtime.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2016 14:25:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244450#M197580</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-04-20T14:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Instance loop in Activiti BPM</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244451#M197581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="https://forums.activiti.org/comment/34441#comment-34441" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/comment/34441#comment-34441&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2016 06:46:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244451#M197581</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-04-21T06:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Instance loop in Activiti BPM</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244452#M197582</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 am using multi instance loop with parallel tasks. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a requirement to wait for all the tasks to finish and then move to the next task, but I don't see any such option in Activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will a receive a message event, based on which i need to create tasks in multi- instance loop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not specifying the loop cardinality value as I need to create the instances number of times the event is signalled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If a task is completed by an User in multi-instance loop, right now it is creating the next task attached outside the loop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I want to wait until all the tasks in multi-instance are completed and then execute the next task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me how we can achieve the wait condition for the parallel tasks in multi-instance loop.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in Advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2016 00:17:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244452#M197582</guid>
      <dc:creator>chockyc91</dc:creator>
      <dc:date>2016-09-15T00:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Instance loop in Activiti BPM</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244453#M197583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Sravani!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I assume you created event subprocesses for each execution of user task, including those added later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Make java delegate that goes through tasks of this process and checks every task for completion. You can store tasks references in some process level variable or make some task variables for filtering on them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After that you only need to filter out one execution to proceed. It can be done through process level variable in exclusive part of workflow flow - check its existance and if it does exist, end execution. Otherwise set variable and continue workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 10:11:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multi-instance-loop-in-activiti-bpm/m-p/244453#M197583</guid>
      <dc:creator>warper</dc:creator>
      <dc:date>2016-09-16T10:11:09Z</dc:date>
    </item>
  </channel>
</rss>

