<div dir="ltr">Thanks!<div><br></div><div>i actually am reading the documentation, i guess i missed that eval(true) option.</div><div>is there other resources/examples for rules Expert/Flow other than the main HTML documentation </div>
<div>on Drools site? [<a href="http://www.jboss.org/drools/documentation.html">http://www.jboss.org/drools/documentation.html</a>]</div><div><br></div><div><br><br><div class="gmail_quote">2010/6/21 PAYET, Manuel <span dir="ltr"><<a href="mailto:manuel.payet@capgemini.com">manuel.payet@capgemini.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Infact, you can make eval(true) in one of them, and put the
salience property higher than the non-default one,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Let's say by example that your split node has two
outgoings, and A is the default:</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">-A with eval(true) and priority 1000</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">-B with Url(score >90) priority 1</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">But it's described in the drools flow documentation... I
suggest you to read it...</font></span></div><br>
<div lang="fr" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>De :</b> <a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>
[mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>] <b>De la part de</b> eyal
edri<br><b>Envoyé :</b> lundi 21 juin 2010 14:53<br><b>À :</b> Rules
Users List<br><b>Objet :</b> [rules-users] how to write a single constraint
in split node<br></font><br></div><div><div></div><div class="h5">
<div></div>
<div dir="ltr">Hi,
<div><br></div>
<div>i'm kind of new to Drools and still trying to build a simple process.</div>
<div>I'm trying to understand if (and how) it is possible to write a 'rule'
constraint inside a split node that won't require </div>
<div>writing the opposite rule for the 2nd target node.</div>
<div><br></div>
<div>for e.g. if i have a split node with 2 target nodes, </div>
<div>and my 1st constraint is "Url( score > 90)" -> this will take me to
target node 1.</div>
<div>i want that split node will know to go target node 2 in case the score is
less or equal to 90,</div>
<div>without the need to explicitly write the 2nd constraint as "Url
(score <= 90)".</div>
<div><br></div>
<div>is that possible? <br clear="all"><br>-- <br>Eyal
Edri<br></div></div><pre></pre></div></div><p style="font-family:arial;color:grey">This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.</p>
<pre></pre></div>
<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>Eyal Edri<br>
</div></div>