<?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: Database Exception in process containing two callActivities with multiInstanceLoopCharacteristics in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/database-exception-in-process-containing-two-callactivities-with/m-p/14433#M6342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to my colleague Roger we found a workaround for this problem by adding a check&lt;/P&gt;&lt;P&gt;&amp;nbsp;if (nrOfActiveInstances &amp;lt; 0) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;BR /&gt;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;to the leave method of &lt;STRONG&gt;ParallelMultiInstanceBehavior&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;if (loopCounter &amp;gt; nrOfInstances &amp;amp;&amp;amp; nrOfInstances &amp;gt; 0) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;to the leave method &lt;STRONG&gt;SequentialMultiInstanceBehavior&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe not the most elegant thing to do, but it solved our problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2018 09:40:43 GMT</pubDate>
    <dc:creator>frauke_heyl</dc:creator>
    <dc:date>2018-03-13T09:40:43Z</dc:date>
    <item>
      <title>Database Exception in process containing two callActivities with multiInstanceLoopCharacteristics</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/database-exception-in-process-containing-two-callactivities-with/m-p/14432#M6341</link>
      <description>Hi everybody,I have a serious problem. The process contains two callActivities with a multiInstanceLoopCharacteristics, both working on the same variable as activiti:collection.After executing the first call activity, the collection variable is cleared by some service task. Then the second call acti</description>
      <pubDate>Fri, 09 Mar 2018 15:46:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/database-exception-in-process-containing-two-callactivities-with/m-p/14432#M6341</guid>
      <dc:creator>frauke_heyl</dc:creator>
      <dc:date>2018-03-09T15:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Database Exception in process containing two callActivities with multiInstanceLoopCharacteristics</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/database-exception-in-process-containing-two-callactivities-with/m-p/14433#M6342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to my colleague Roger we found a workaround for this problem by adding a check&lt;/P&gt;&lt;P&gt;&amp;nbsp;if (nrOfActiveInstances &amp;lt; 0) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;BR /&gt;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;to the leave method of &lt;STRONG&gt;ParallelMultiInstanceBehavior&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;if (loopCounter &amp;gt; nrOfInstances &amp;amp;&amp;amp; nrOfInstances &amp;gt; 0) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;to the leave method &lt;STRONG&gt;SequentialMultiInstanceBehavior&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe not the most elegant thing to do, but it solved our problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2018 09:40:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/database-exception-in-process-containing-two-callactivities-with/m-p/14433#M6342</guid>
      <dc:creator>frauke_heyl</dc:creator>
      <dc:date>2018-03-13T09:40:43Z</dc:date>
    </item>
  </channel>
</rss>

