When we define two parallel branches in a business process we represent a real situation where two task needs to be completed in parallel. We are not expressing something low level as Concurrent (multi threaded) programming.<br>
<br>Does this explanation answer your question?<br><br><div class="gmail_quote">2010/4/9 Pedro Maria Buitrago Mantilla <span dir="ltr">&lt;<a href="mailto:pmbtgun@gmail.com">pmbtgun@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Greetings for all,</div><div><br></div><div>We&#39;re learning about jboss rules ( drools ), in particular, drools flow by the workflow topic.</div><div><br></div><div>In the documentation, the parallelism is solved by means of split node of type 1 (AND). </div>






<div>However, when we execute the testing ,the execution is sequential.</div><div><br></div><div>In particular, the idea is that our workflow executes two subflows in parallel. For this target we configured a </div><div>





&quot;split node&quot; with type &#39;AND&#39; and a &quot;join node&quot; with type &#39;AND&#39;, no more configuration, Is it required another configurations?  </div><div>Is it problem of standalone applications? We don&#39;t know.</div>


<div><br></div><div><br></div><div>This is the case:</div><div><br></div><div>0. Drools:</div><div><br></div><div><div>Created-By: Apache Maven</div><div>Built-By: trikkola</div><div>Build-Jdk: 1.5.0_15</div>



<div>Specification-Title: Drools :: API</div><div>Specification-Version: 5.0.1</div><div>Specification-Vendor: JBoss Inc.</div><div>Implementation-Title: Drools :: API</div><div>Implementation-Version: 5.0.1</div><div>Implementation-Vendor-Id: org.drools</div>






<div>Implementation-Vendor: JBoss Inc.</div></div><div><br></div><div><br></div><div>1. ProcessXML:</div><div><br></div><div><div><i>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; </i></div><div><i>&lt;process xmlns=&quot;<a href="http://drools.org/drools-5.0/process" target="_blank">http://drools.org/drools-5.0/process</a>&quot;</i></div>






<div><i>         xmlns:xs=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>&quot;</i></div><div><i>         xs:schemaLocation=&quot;<a href="http://drools.org/drools-5.0/process" target="_blank">http://drools.org/drools-5.0/process</a> drools-processes-5.0.xsd&quot;</i></div>






<div><i>         type=&quot;RuleFlow&quot; name=&quot;PriDigitalTest&quot; id=&quot;com.epmbog.esb.drools.mediator.PriDigitalTest&quot; package-name=&quot;com.epmbog.esb.drools.mediator&quot; &gt;</i></div><div><i><br></i></div>






<div><i>  &lt;header&gt;</i></div><div><i>    &lt;variables&gt;</i></div><div><i>      &lt;variable name=&quot;factsMap&quot; &gt;</i></div><div><i>        &lt;type name=&quot;org.drools.process.core.datatype.impl.type.ObjectDataType&quot; className=&quot;java.util.HashMap&quot; /&gt;</i></div>






<div><i>      &lt;/variable&gt;</i></div><div><i>      &lt;variable name=&quot;resultsMap&quot; &gt;</i></div><div><i>        &lt;type name=&quot;org.drools.process.core.datatype.impl.type.ObjectDataType&quot; className=&quot;java.util.HashMap&quot; /&gt;</i></div>






<div><i>      &lt;/variable&gt;</i></div><div><i>    &lt;/variables&gt;</i></div><div><i>  &lt;/header&gt;</i></div><div><i><br></i></div><div><i>  &lt;nodes&gt;</i></div><div><i>    </i></div><div><i>    &lt;start id=&quot;1&quot; name=&quot;Start&quot; x=&quot;126&quot; y=&quot;16&quot; width=&quot;48&quot; height=&quot;48&quot; /&gt;</i></div>






<div><i>    </i></div><div><i>    &lt;split id=&quot;19&quot; name=&quot;AND&quot; x=&quot;109&quot; y=&quot;95&quot; width=&quot;80&quot; height=&quot;40&quot; type=&quot;1&quot; /&gt;</i></div><div><i>    </i></div><div>






<i>    &lt;subProcess id=&quot;17&quot; name=&quot;UMGSubFlow&quot; x=&quot;16&quot; y=&quot;168&quot; width=&quot;119&quot; height=&quot;49&quot; processId=&quot;com.epmbog.esb.drools.mediator.UMGFlow&quot; waitForCompletion=&quot;false&quot; independent=&quot;false&quot; &gt;</i></div>






<div><i>      &lt;mapping type=&quot;in&quot; from=&quot;resultsMap&quot; to=&quot;resultsMap&quot; /&gt;</i></div><div><i>      &lt;mapping type=&quot;in&quot; from=&quot;factsMap&quot; to=&quot;factsMap&quot; /&gt;</i></div>






<div><i>    &lt;/subProcess&gt;</i></div><div><i>    </i></div><div><i>    &lt;subProcess id=&quot;18&quot; name=&quot;SoftSwitchSubFlow&quot; x=&quot;167&quot; y=&quot;168&quot; width=&quot;119&quot; height=&quot;49&quot; processId=&quot;com.epmbog.esb.drools.mediator.SoftSwitchFlow&quot; waitForCompletion=&quot;false&quot; independent=&quot;false&quot; &gt;</i></div>






<div><i>      &lt;mapping type=&quot;in&quot; from=&quot;resultsMap&quot; to=&quot;resultsMap&quot; /&gt;</i></div><div><i>      &lt;mapping type=&quot;in&quot; from=&quot;factsMap&quot; to=&quot;factsMap&quot; /&gt;</i></div>






<div><i>    &lt;/subProcess&gt;</i></div><div><i>    </i></div><div><i>    &lt;join id=&quot;20&quot; name=&quot;Join(And)&quot; x=&quot;110&quot; y=&quot;251&quot; width=&quot;80&quot; height=&quot;40&quot; type=&quot;1&quot; /&gt;</i></div>






<div><i>    </i></div><div><i>    &lt;end id=&quot;6&quot; name=&quot;End&quot; x=&quot;112&quot; y=&quot;414&quot; width=&quot;80&quot; height=&quot;40&quot; /&gt;</i></div><div><i>    </i></div><div><i>  &lt;/nodes&gt;</i></div>






<div><i><br></i></div><div><i>  &lt;connections&gt;</i></div><div><i> </i></div><div><i>    &lt;connection from=&quot;1&quot; to=&quot;19&quot; /&gt;</i></div><div><i>    </i></div><div><i>    &lt;connection from=&quot;19&quot; to=&quot;17&quot; /&gt;</i></div>






<div><i>    &lt;connection from=&quot;19&quot; to=&quot;18&quot; /&gt;</i></div><div><i>   </i></div><div><i>    &lt;connection from=&quot;17&quot; to=&quot;20&quot; /&gt;</i></div><div><i>    &lt;connection from=&quot;18&quot; to=&quot;20&quot; /&gt;</i></div>






<div><i>    </i></div><div><i>    &lt;connection from=&quot;20&quot; to=&quot;6&quot; /&gt;</i></div><div><i>    </i></div><div><i>  &lt;/connections&gt;</i></div><div><i><br></i></div><div><i>&lt;/process&gt;</i></div><div>






<i><br></i></div><div><i>2. <span style="font-style: normal;">Chart</span></i></div><div><i><br></i></div></div><div><img src="cid:ii_127e3872e3a9bfc0" alt="PriDigitalTest.JPG" title="PriDigitalTest.JPG" height="135" width="200"><br>






</div><div><font face="arial, sans-serif" size="6"><span style="font-size: 19px; line-height: 25px;"><br></span></font></div><div>We greatly appreciate your help, any suggestions? Thank you a lot</div>
<br clear="all"><font color="#888888"><br><div>PEDRO MARIA BUITRAGO MANTILLA<br>Bogotį, Colombia<br><br>
</div>
</font><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino &quot;Salaboy&quot; Mauricio -<br>