<div dir="ltr">We do this....<br>rule "Transaction"<br> salience 9000<br> no-loop true<br> when<br> then<br> CardTranResponse respObj = new CardTranResponse();<br><br> respObj = handleTransaction($currcode, c1, t1, $limit_amount_fees,<br>
$tot_feedeny, "Transaction permitted", respObj); <br clear="all"><br>end;<br><br><br>Scott<br>
<br><br><div class="gmail_quote">On Fri, Aug 15, 2008 at 12:53 PM, samd <span dir="ltr"><<a href="mailto:sdoyle_2@yahoo.com">sdoyle_2@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Nobody knows?<br>
<br>
<br>
samd wrote:<br>
><br>
> All I want to do is something simple like the following:<br>
><br>
> $changedList: java.util.List( ) from getChangedList( $x, $y );<br>
><br>
> Then in the same .drl file a function something like:<br>
><br>
> function List getChangedList( $x, $y )<br>
> {<br>
> return JavaClass.staticDoSomethingToGetListMethod( $x, $y);<br>
> }<br>
><br>
> I have tried doing this and I get:<br>
><br>
> Unable to build expression for 'from' node 'getChangedList( $x, $y)'<br>
><br>
> It looks like there is supposed to be something in between the from and<br>
> the function? I have been looking for examples for something like this and<br>
> have not found any.<br>
><br>
> Thanks<br>
><br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://www.nabble.com/How-do-I-assign-a-local-variable-from-a-function-call--tp18987041p19002039.html" target="_blank">http://www.nabble.com/How-do-I-assign-a-local-variable-from-a-function-call--tp18987041p19002039.html</a><br>
Sent from the drools - user mailing list archive at Nabble.com.<br>
<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>
</font></blockquote></div><br></div>