<?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: Exclusive Gateway on multiple items in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/exclusive-gateway-on-multiple-items/m-p/201528#M154658</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;Use multi-instance&lt;/SPAN&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, 01 Dec 2014 07:58:45 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2014-12-01T07:58:45Z</dc:date>
    <item>
      <title>Exclusive Gateway on multiple items</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclusive-gateway-on-multiple-items/m-p/201527#M154657</link>
      <description>Hi, I'm new to building workflow and is trying to figure out how to model below process using loop. The workflow is operated on a batch of items, however, evaluation in between needs to be done on individual item. I don't know how to evaluate each item using a loop. 1. Start Event -&amp;gt; 2. Java Serv</description>
      <pubDate>Sun, 30 Nov 2014 05:56:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclusive-gateway-on-multiple-items/m-p/201527#M154657</guid>
      <dc:creator>yisa</dc:creator>
      <dc:date>2014-11-30T05:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusive Gateway on multiple items</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclusive-gateway-on-multiple-items/m-p/201528#M154658</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;Use multi-instance&lt;/SPAN&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, 01 Dec 2014 07:58:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclusive-gateway-on-multiple-items/m-p/201528#M154658</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-12-01T07:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusive Gateway on multiple items</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclusive-gateway-on-multiple-items/m-p/201529#M154659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply. I have used multi-instance, but that's not the problem. Let me clarify my problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My workflow contains mostly tasks that processes multiple items in a batch mode (step 2, 3, 5,6), but condition evaluation at exclusive gateway can only evaluate one item at a time (step 4 and 7). Since I can't use multi-instance on exclusive gateway alone, seems like I have to put each exclusive gateway into a separated process just to use multi instance, then merge result back to continue in batch mode, like the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 –&amp;gt; 2(batch) –&amp;gt; 3(batch) –&amp;gt; 4(new_process_to_check_condition) –&amp;gt; 5(batch) –&amp;gt; 6(batch) –&amp;gt; 7(another new_process_to_check)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That means every time when I have a condition to check, I need to create a new process so that I can loop through the items. Doesn't seem like an efficient way to model. So am I missing something?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this make sense?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Dec 2014 20:40:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclusive-gateway-on-multiple-items/m-p/201529#M154659</guid>
      <dc:creator>yisa</dc:creator>
      <dc:date>2014-12-01T20:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusive Gateway on multiple items</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclusive-gateway-on-multiple-items/m-p/201530#M154660</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;You could evaluate the condition in the script/service tasks to evaluate result (loop through items ; condition evaluation &amp;amp; setting result to the process variable). That could be one way. Another possibility is to implement bean to evaluate condition (&lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#springintegration" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#springintegration&lt;/A&gt;&lt;SPAN&gt;).&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, 01 Dec 2014 21:07:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclusive-gateway-on-multiple-items/m-p/201530#M154660</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-12-01T21:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exclusive Gateway on multiple items</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/exclusive-gateway-on-multiple-items/m-p/201531#M154661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick reply! I'll try to use a service task then. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 00:08:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/exclusive-gateway-on-multiple-items/m-p/201531#M154661</guid>
      <dc:creator>yisa</dc:creator>
      <dc:date>2014-12-02T00:08:21Z</dc:date>
    </item>
  </channel>
</rss>

