<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.17023" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=183131313-21062010><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 class=183131313-21062010><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 class=183131313-21062010><FONT face=Arial 
color=#0000ff size=2>-A with eval(true) and priority 1000</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=183131313-21062010><FONT face=Arial 
color=#0000ff size=2>-B with Url(score &gt;90) priority 1</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=183131313-21062010><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=183131313-21062010><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 class=OutlookMessageHeader lang=fr dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De&nbsp;:</B> rules-users-bounces@lists.jboss.org 
[mailto:rules-users-bounces@lists.jboss.org] <B>De la part de</B> eyal 
edri<BR><B>Envoyé&nbsp;:</B> lundi 21 juin 2010 14:53<BR><B>À&nbsp;:</B> Rules 
Users List<BR><B>Objet&nbsp;:</B> [rules-users] how to write a single constraint 
in split node<BR></FONT><BR></DIV>
<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&nbsp;</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,&nbsp;</DIV>
<DIV>and my 1st constraint is "Url( score &gt; 90)" -&gt; 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&nbsp;constraint&nbsp;as "Url 
(score &lt;= 90)".</DIV>
<DIV><BR></DIV>
<DIV>is that possible?&nbsp;<BR clear=all><BR>-- <BR>Eyal 
Edri<BR></DIV></DIV><pre></PRE><p style="font-family:arial;color:grey" style="font-size:13px">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></BODY></HTML>