You could use eval( &lt;expression&gt; ) for this, but I guess it could also be added as a return value field constraint to the last of these four fields. Would you mind providing the full pattern?<br>-W<br><br><div class="gmail_quote">
2009/3/20 Zevenbergen, Alex <span dir="ltr">&lt;<a href="mailto:azevenbergen@paddypower.com">azevenbergen@paddypower.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<div><font face="Arial" size="2"><span>Hi,</span></font></div>
<div><font face="Arial" size="2"><span></span></font> </div>
<div><font face="Arial" size="2"><span>quick newbie 
question about the when clause in a rule. eg can i get the fact to be tested 
from the result of two other inputted facts?</span></font></div>
<div><font size="-0"><span><font color="#ff0000" face="Arial" size="2"></font></span></font> </div>
<div><font size="-0"><span><font color="#ff0000" face="Arial" size="2">details.HOME_MATCH_SCORE - details.HOME_FULL_TIME_SCORE &gt; 
details.AWAY_MATCH_SCORE - details.AWAY_FULL_TIME_SCORE</font></span></font></div>
<div>
<p><span><font face="Arial" size="2">I assumed this would 
work fine but it doesn&#39;t recognise the &#39;-&#39; as a minus!</font></span></p>
<p><span><font face="Arial" size="2">Thanks in 
advance</font></span></p>
<p><span><font face="Arial" size="2">Alex</font></span></p></div>
<div><font face="Arial" size="2"></font> </div>
<br>
________________________________________________________________________<br>
Privileged, confidential and/or copyright information may be contained in this communication. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended addressee, you may not copy, forward, disclose or otherwise use this e-mail or any part of it in any way whatsoever. To do so is prohibited and may be unlawful. If you have received this email in error <br>

please notify the sender immediately.<br>
<br>
Paddy Power PLC may monitor the content of e-mail sent and received for the purpose of ensuring compliance with its policies and procedures.<br>
<br>
Paddy Power plc, Airton House, Airton Road, Tallaght, Dublin 24  Registered in Ireland: 16956<br>
________________________________________________________________________<br>
</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>