<br><font size=2 face="sans-serif">Thank you for the reply Wolfgang,</font>
<br>
<br><font size=2 face="sans-serif">For some reason I had a mental blank
when I asked that question - was thinking &quot;Can't create variables
like that&quot;.</font>
<br>
<br><font size=2 face="sans-serif">Thanks!</font>
<br><font size=2 face="sans-serif">-Trav<br>
<br>
</font><font size=1 face="Arial"><b>Travis Smith</b><br>
Analyst Programmer<br>
Development Centre<br>
BNZ<br>
<br>
DDI: +644 4746356 (Or Ext 76356)</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<br><font size=1 color=#800080 face="Arial"><b>Wolfgang Laun &lt;wolfgang.laun@gmail.com&gt;</b></font>
<br><font size=1 color=#800080 face="sans-serif">Sent by: </font><font size=1 color=#800080 face="sans-serif">rules-users-bounces@lists.jboss.org</font>
<p><font size=1 face="sans-serif">29/03/2011 08:21 p.m.</font>
<br><font size=1 face="sans-serif">Please respond to<br>
Rules Users List &lt;rules-users@lists.jboss.org&gt;</font>
<td>
<td>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">Rules Users List &lt;rules-users@lists.jboss.org&gt;</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [rules-users] Decision
tables - multiple params to function over multiple columns</font></table>
<br></table>
<br>
<br>
<br>
<br><tt><font size=2>I think this is more a Java question of how to call
a method in instalments.<br>
<br>
One option is to set a temporary from the 1st column, and call from<br>
the 2nd: The first column might be<br>
 &nbsp;String code = $param;<br>
and the next column would<br>
 &nbsp;callHelperFunction( code, $param, $handleFromConditions);<br>
and the next column would<br>
<br>
Alternatively, you can do<br>
 &nbsp; startHelperFunction( $handle, $param );<br>
 &nbsp; execHelperFunction( $param );<br>
also with each statement coming from a column of its own.<br>
<br>
With non-statics, also chained calls would be possible.<br>
<br>
-W<br>
<br>
2011/3/29 &nbsp;&lt;Travis_Smith@bnz.co.nz&gt;:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; Currently I've got a consequence on a decision table that works like
this:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; callHelperFunction( $1, $2, $handleFromConditions);<br>
&gt;<br>
&gt; where the first two parameters are strings, $1 being a code, $2 a<br>
&gt; description.<br>
&gt;<br>
&gt; which means that you get the table holding things like:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &quot;DC X223,This is the description
text which can be fairly wordy&quot;<br>
&gt;<br>
&gt; That works just fine!<br>
&gt;<br>
&gt; However: For ease of maintenance, the risk analysts want the input
split<br>
&gt; over two columns, so is there any way of doing this? I'm trying to
avoid<br>
&gt; inserting a temporary fact then cleaning it up after, if possible,
as I<br>
&gt; can't see that being particularly good for performance.<br>
&gt;<br>
&gt; Thank you,<br>
&gt; -Trav<br>
&gt;<br>
&gt; Travis Smith<br>
&gt; Analyst Programmer<br>
&gt; Development Centre<br>
&gt; BNZ<br>
&gt;<br>
&gt; DDI: +644 4746356 (Or Ext 76356)<br>
&gt;<br>
&gt; CAUTION - This message may contain privileged and confidential information<br>
&gt; intended only for the use of the addressee named above. If you are
not the<br>
&gt; intended recipient of this message you are hereby notified that any
use,<br>
&gt; dissemination, distribution or reproduction of this message is prohibited.<br>
&gt; This email was sent by the Bank of New Zealand. You can contact us
on<br>
&gt; 0800 ASK BNZ (0800 275 269). Any views expressed in this message are
those<br>
&gt; of the individual sender and may not necessarily reflect the views
of Bank<br>
&gt; of New Zealand.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; rules-users@lists.jboss.org<br>
&gt; https://lists.jboss.org/mailman/listinfo/rules-users<br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
rules-users@lists.jboss.org<br>
https://lists.jboss.org/mailman/listinfo/rules-users<br>
</font></tt>
<br><pre>
CAUTION - This message may contain privileged and confidential information 
intended only for the use of the addressee named above. If you are not the 
intended recipient of this message you are hereby notified that any use, 
dissemination, distribution or reproduction of this message is prohibited. 
This email was sent by the Bank of New Zealand. You can contact us on 
0800 ASK BNZ (0800 275 269). Any views expressed in this message are those 
of the individual sender and may not necessarily reflect the views of Bank 
of New Zealand.
</pre>