<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
As long as you are in 4.0MR2 you can use 'from' to achieve this without
using eval.<br>
$cma : CmAdjustment( status != "Full Match", adjCmNumber : cmNumber,
adjCmQuantity : availableQuantity)<br>
Payment(tolPercent ==
Constants.ACCEPT_ALL) from $cma.originalRepaymentCode<br>
<br>
Mark<br>
Ronald R. DiFrango wrote:
<blockquote
 cite="mid:eb33f140705171227n2178e289xd2e80456382af6bc@mail.gmail.com"
 type="cite">All,<br>
  <br>
I want to do the following:<br>
  <br>
CmAdjustment( status != "Full Match", adjCmNumber : cmNumber,
adjCmQuantity : availableQuantity, originalRepaymentCode.tolPercent ==
Constants.ACCEPT_ALL) <br>
  <br>
But it seems like I can not inspect the attributes of class that is
contained within the top level one that is passed into working memory.
  <br>
  <br>
Is utilizing eval my only option or are there others?&nbsp; I was thinking
something like the following:<br>
  <br>
CmAdjustment( status != "Full Match", adjCmNumber : cmNumber,
adjCmQuantity : availableQuantity, repayCode: originalRepaymentCode)<br>
eval(repayCode.tolPercent ==
Constants.ACCEPT_ALL)<br>
  <br>
The problem I see with this is performance as I have large data sets
and a fairly large rule set.<br>
  <br>
Thanks,<br>
  <br>
Ron<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>