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"><<a href="mailto:pmbtgun@gmail.com">pmbtgun@gmail.com</a>></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'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>
"split node" with type 'AND' and a "join node" with type 'AND', no more configuration, Is it required another configurations? </div><div>Is it problem of standalone applications? We don'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><?xml version="1.0" encoding="UTF-8"?> </i></div><div><i><process xmlns="<a href="http://drools.org/drools-5.0/process" target="_blank">http://drools.org/drools-5.0/process</a>"</i></div>
<div><i> xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"</i></div><div><i> xs:schemaLocation="<a href="http://drools.org/drools-5.0/process" target="_blank">http://drools.org/drools-5.0/process</a> drools-processes-5.0.xsd"</i></div>
<div><i> type="RuleFlow" name="PriDigitalTest" id="com.epmbog.esb.drools.mediator.PriDigitalTest" package-name="com.epmbog.esb.drools.mediator" ></i></div><div><i><br></i></div>
<div><i> <header></i></div><div><i> <variables></i></div><div><i> <variable name="factsMap" ></i></div><div><i> <type name="org.drools.process.core.datatype.impl.type.ObjectDataType" className="java.util.HashMap" /></i></div>
<div><i> </variable></i></div><div><i> <variable name="resultsMap" ></i></div><div><i> <type name="org.drools.process.core.datatype.impl.type.ObjectDataType" className="java.util.HashMap" /></i></div>
<div><i> </variable></i></div><div><i> </variables></i></div><div><i> </header></i></div><div><i><br></i></div><div><i> <nodes></i></div><div><i> </i></div><div><i> <start id="1" name="Start" x="126" y="16" width="48" height="48" /></i></div>
<div><i> </i></div><div><i> <split id="19" name="AND" x="109" y="95" width="80" height="40" type="1" /></i></div><div><i> </i></div><div>
<i> <subProcess id="17" name="UMGSubFlow" x="16" y="168" width="119" height="49" processId="com.epmbog.esb.drools.mediator.UMGFlow" waitForCompletion="false" independent="false" ></i></div>
<div><i> <mapping type="in" from="resultsMap" to="resultsMap" /></i></div><div><i> <mapping type="in" from="factsMap" to="factsMap" /></i></div>
<div><i> </subProcess></i></div><div><i> </i></div><div><i> <subProcess id="18" name="SoftSwitchSubFlow" x="167" y="168" width="119" height="49" processId="com.epmbog.esb.drools.mediator.SoftSwitchFlow" waitForCompletion="false" independent="false" ></i></div>
<div><i> <mapping type="in" from="resultsMap" to="resultsMap" /></i></div><div><i> <mapping type="in" from="factsMap" to="factsMap" /></i></div>
<div><i> </subProcess></i></div><div><i> </i></div><div><i> <join id="20" name="Join(And)" x="110" y="251" width="80" height="40" type="1" /></i></div>
<div><i> </i></div><div><i> <end id="6" name="End" x="112" y="414" width="80" height="40" /></i></div><div><i> </i></div><div><i> </nodes></i></div>
<div><i><br></i></div><div><i> <connections></i></div><div><i> </i></div><div><i> <connection from="1" to="19" /></i></div><div><i> </i></div><div><i> <connection from="19" to="17" /></i></div>
<div><i> <connection from="19" to="18" /></i></div><div><i> </i></div><div><i> <connection from="17" to="20" /></i></div><div><i> <connection from="18" to="20" /></i></div>
<div><i> </i></div><div><i> <connection from="20" to="6" /></i></div><div><i> </i></div><div><i> </connections></i></div><div><i><br></i></div><div><i></process></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 "Salaboy" Mauricio -<br>