<?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 How to create a loop in flow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197202#M150332</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 need to implement a loop flow in my process, i couldnt find loop construct in bpmn, below is my requirement, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;start event —&amp;gt; java service(fetch users) —–&amp;gt; send mail to fetched users ——&amp;gt; get approval from all ——&amp;gt; if all approved —–&amp;gt; end event&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rahul &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jun 2014 06:31:50 GMT</pubDate>
    <dc:creator>rvashishth</dc:creator>
    <dc:date>2014-06-23T06:31:50Z</dc:date>
    <item>
      <title>How to create a loop in flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197202#M150332</link>
      <description>Hi I need to implement a loop flow in my process, i couldnt find loop construct in bpmn, below is my requirement, start event —&amp;gt; java service(fetch users) —–&amp;gt; send mail to fetched users ——&amp;gt; get approval from all ——&amp;gt; if all approved —–&amp;gt; end eventThanks,Rahul</description>
      <pubDate>Mon, 23 Jun 2014 06:31:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197202#M150332</guid>
      <dc:creator>rvashishth</dc:creator>
      <dc:date>2014-06-23T06:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a loop in flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197203#M150333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Rahul,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.activiti.org/userguide/#bpmnMultiInstance" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#bpmnMultiInstance&lt;/A&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, 23 Jun 2014 07:44:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197203#M150333</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-06-23T07:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a loop in flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197204#M150334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, I have achieved creating loop. sorry not to explore the docs properly.&amp;nbsp; Please help me for the next one as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I am looping a Java Service Task, by passing a process variable list, and in the execute method i am getting usernames from the list by creating a execution variable. Now i need to check the condition for n number of users, if all users say true than only i need to move to next construct. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How i can evaluate the boolean result of n loop to a single result ?? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 14:12:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197204#M150334</guid>
      <dc:creator>rvashishth</dc:creator>
      <dc:date>2014-06-23T14:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a loop in flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197205#M150335</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;My understanding:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. all users have to answer.&amp;nbsp; - (multiinstance loop is fine. )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. If at least one of them says "No" - I do not know what should happen&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. If all of them says "Yes" - continue in the process execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for 2. and 3. use exclusive gateway with decision (store decision results in process variables and evaluate them in the transitions from exclusive gateway.)&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;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 06:40:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197205#M150335</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-06-24T06:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a loop in flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197206#M150336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it okay to store the result for each iteration in a single process variable, since ServiceTask instance is singleton and will be shared by other process as well. What if some other thread of execution modifies the value of ServiceTask class variable ? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jun 2014 06:48:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197206#M150336</guid>
      <dc:creator>rvashishth</dc:creator>
      <dc:date>2014-06-24T06:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a loop in flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197207#M150337</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;BLOCKQUOTE class="jive-quote"&gt;Is it okay to store the result for each iteration in a single process variable,&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;it is ok in the case of sequential multiinstance loop. (In the case of parallel multiinstance loop you can get exception (concurrent modification) - you can use one variable instance per iteration).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What if some other thread of execution modifies the value of ServiceTask class variable ?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I propose to use process instance variables.&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>Tue, 24 Jun 2014 06:55:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-a-loop-in-flow/m-p/197207#M150337</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-06-24T06:55:20Z</dc:date>
    </item>
  </channel>
</rss>

