<?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 Multiple Flow Conditions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171993#M125225</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'm having some trouble with the flow condition of a sequence flow. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the follwing EL Expressions: ${library == 'BIB' or library == 'BOB'}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately this expression does not work. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works fine if I only ask for one thing like ${library == 'BIB'} &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone had this problem before? Or can anyone tell me what i'm doing wrong?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Spille&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2014 13:58:31 GMT</pubDate>
    <dc:creator>spille</dc:creator>
    <dc:date>2014-04-03T13:58:31Z</dc:date>
    <item>
      <title>Multiple Flow Conditions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171993#M125225</link>
      <description>Hi,I'm having some trouble with the flow condition of a sequence flow. I'm using the follwing EL Expressions: ${library == 'BIB' or library == 'BOB'}Unfortunately this expression does not work. It works fine if I only ask for one thing like ${library == 'BIB'} Has anyone had this problem before? Or</description>
      <pubDate>Thu, 03 Apr 2014 13:58:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171993#M125225</guid>
      <dc:creator>spille</dc:creator>
      <dc:date>2014-04-03T13:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Flow Conditions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171994#M125226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried || instead of or?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 14:24:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171994#M125226</guid>
      <dc:creator>one87</dc:creator>
      <dc:date>2014-04-03T14:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Flow Conditions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171995#M125227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, tried that… I tried a few possibilities like: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${library == 'BIB'} or ${library == 'BOB'}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;${library == 'BIB'} or ${library == 'BOB'}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;${library == 'BIB'} || ${library == 'BOB'}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;${library == 'BIB' || library == 'BOB'}&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 14:27:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171995#M125227</guid>
      <dc:creator>spille</dc:creator>
      <dc:date>2014-04-03T14:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Flow Conditions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171996#M125228</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;SPAN&gt;I tested it with the exclusive gateway and following expression:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow3" sourceRef="exclusiveGw" targetRef="theTask2"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;${input == '2' or input == '5'}&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Test passed.&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>Fri, 04 Apr 2014 06:45:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171996#M125228</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-04-04T06:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Flow Conditions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171997#M125229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Martin! Now it works here as well &lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Spille&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 07:36:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171997#M125229</guid>
      <dc:creator>spille</dc:creator>
      <dc:date>2014-04-04T07:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Flow Conditions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171998#M125230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oké,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes it works, sometimes it doesn't work. But I found the problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I define a "default flow" and a "conditional flow". &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the activiti modeller. It seems to be deploying&amp;nbsp; a different bpmn.xml with the same model. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes the "default flow" is put after the "conditional flow" –&amp;gt; then it works&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes the "default flow" is put in front of the "conditional flow" –&amp;gt; then it does not works (because it passes through the default flow without checking the conditional flow)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts on this? I can now fix this by editing the XML-file, but it would be nice if i knew how to do this is the modeller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Spille&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 08:48:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171998#M125230</guid>
      <dc:creator>spille</dc:creator>
      <dc:date>2014-04-04T08:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Flow Conditions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171999#M125231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Spille.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have changed jUnit test &lt;/SPAN&gt;&lt;CODE&gt;org.activiti.engine.test.bpmn.gateway.ExclusiveGatewayTest#testDefaultSequenceFlow&lt;/CODE&gt;&lt;SPAN&gt; little bit according your description.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;exclusiveGateway id="exclusiveGw" name="Exclusive Gateway" default="flow3" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow3" sourceRef="exclusiveGw" targetRef="theTask2"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" sourceRef="exclusiveGw" targetRef="theTask1"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;${input == 1}&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow4" sourceRef="exclusiveGw" targetRef="theTask3"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;${input == 3}&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;It has passed.&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, 07 Apr 2014 06:22:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/multiple-flow-conditions/m-p/171999#M125231</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-04-07T06:22:53Z</dc:date>
    </item>
  </channel>
</rss>

