<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
h1
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        page-break-after:avoid;
        font-size:16.0pt;
        font-family:Arial;
        font-weight:bold;}
h2
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        page-break-after:avoid;
        font-size:14.0pt;
        font-family:Arial;
        font-weight:bold;
        font-style:italic;}
h3
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        page-break-after:avoid;
        font-size:13.0pt;
        font-family:Arial;
        font-weight:bold;}
p.MsoCaption, li.MsoCaption, div.MsoCaption
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:6.0pt;
        margin-left:0in;
        font-size:10.0pt;
        font-family:"Times New Roman";
        font-weight:bold;}
p.MsoTitle, li.MsoTitle, div.MsoTitle
        {margin-top:12.0pt;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:center;
        font-size:16.0pt;
        font-family:Arial;
        font-weight:bold;}
p.MsoBodyText, li.MsoBodyText, div.MsoBodyText
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:6.0pt;
        margin-left:0in;
        text-indent:.5in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.MsoSubtitle, li.MsoSubtitle, div.MsoSubtitle
        {margin-top:0in;
        margin-right:0in;
        margin-bottom:3.0pt;
        margin-left:0in;
        text-align:center;
        font-size:12.0pt;
        font-family:Arial;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.code, li.code, div.code
        {margin:0in;
        margin-bottom:.0001pt;
        background:#F3F3F3;
        font-size:9.0pt;
        font-family:"Courier New";}
span.emailstyle18
        {font-family:Arial;
        color:navy;}
span.emailstyle19
        {font-family:Arial;
        color:navy;}
span.EmailStyle25
        {font-family:Arial;
        color:navy;}
span.EmailStyle26
        {font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks Thomas!&nbsp; That was the key!&nbsp; </span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=676
 style='width:507.0pt;margin-left:-1.25pt;border-collapse:collapse'>
 <tr height=17 style='height:12.75pt'>
  <td width=167 nowrap height=17 valign=bottom bgcolor=silver style='width:
  125.0pt;border:solid black 1.0pt;background:silver;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>&nbsp;</span></font></p>
  </td>
  <td width=113 nowrap height=17 valign=bottom bgcolor=black style='width:85.0pt;
  border:none;border-bottom:solid black 1.0pt;background:black;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><b><font size=1 color=white face=Tahoma><span
  style='font-size:7.0pt;font-family:Tahoma;color:white;font-weight:bold'>RuleTable</span></font></b></p>
  </td>
  <td width=265 nowrap height=17 valign=bottom bgcolor=black style='width:199.0pt;
  border:none;border-bottom:solid black 1.0pt;background:black;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>&nbsp;</span></font></p>
  </td>
  <td width=131 nowrap height=17 valign=bottom bgcolor=black style='width:98.0pt;
  border:none;border-bottom:solid black 1.0pt;background:black;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>&nbsp;</span></font></p>
  </td>
 </tr>
 <tr height=17 style='height:12.75pt'>
  <td width=167 nowrap height=17 valign=bottom bgcolor=silver style='width:
  125.0pt;border:solid black 1.0pt;border-top:none;background:silver;
  padding:0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><b><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma;font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
  <td width=113 nowrap height=17 valign=bottom bgcolor="#FFCC99"
  style='width:85.0pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;
  border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>CONDITION</span></font></p>
  </td>
  <td width=265 nowrap height=17 valign=bottom bgcolor="#FFCC99"
  style='width:199.0pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;
  border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>CONDITION</span></font></p>
  </td>
  <td width=131 nowrap height=17 valign=bottom bgcolor="#FFCC99"
  style='width:98.0pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;
  border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>ACTION</span></font></p>
  </td>
 </tr>
 <tr height=18 style='height:13.5pt'>
  <td width=167 nowrap height=18 valign=bottom bgcolor=silver style='width:
  125.0pt;border:solid black 1.0pt;border-top:none;background:silver;
  padding:0in 5.4pt 0in 5.4pt;height:13.5pt'>
  <p class=MsoNormal><b><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma;font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
  <td width=113 height=18 valign=bottom bgcolor="#FFCC99" style='width:85.0pt;
  border:none;border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:13.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>product: Product</span></font></p>
  </td>
  <td width=265 height=18 valign=bottom bgcolor="#FFCC99" style='width:199.0pt;
  border:none;border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:13.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>carton: Carton</span></font></p>
  </td>
  <td width=131 height=18 valign=bottom bgcolor="#FFCC99" style='width:98.0pt;
  border:none;border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:13.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>&nbsp;</span></font></p>
  </td>
 </tr>
 <tr height=17 style='height:12.75pt'>
  <td width=167 height=17 valign=bottom bgcolor=silver style='width:125.0pt;
  border-top:none;border-left:solid black 1.0pt;border-bottom:none;border-right:
  solid black 1.0pt;background:silver;padding:0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><b><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma;font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
  <td width=113 height=17 valign=bottom bgcolor="#FFCC99" style='width:85.0pt;
  border-top:solid black 1.0pt;border-left:none;border-bottom:none;border-right:
  solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>brand: brand</span></font></p>
  </td>
  <td width=265 height=17 valign=bottom bgcolor="#FFCC99" style='width:199.0pt;
  border-top:solid black 1.0pt;border-left:none;border-bottom:none;border-right:
  solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>description: description</span></font></p>
  </td>
  <td width=131 height=17 valign=bottom bgcolor="#FFCC99" style='width:98.0pt;
  border-top:solid black 1.0pt;border-left:none;border-bottom:none;border-right:
  solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>carton.setGood($param);</span></font></p>
  </td>
 </tr>
 <tr height=38 style='height:28.5pt'>
  <td width=167 height=38 bgcolor="#CCFFCC" style='width:125.0pt;border:solid black 1.0pt;
  border-bottom:none;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt;height:
  28.5pt'>
  <p class=MsoNormal align=center style='text-align:center'><b><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;font-weight:bold'>Cases</span></font></b></p>
  </td>
  <td width=113 height=38 valign=bottom bgcolor="#CCFFFF" style='width:85.0pt;
  background:#CCFFFF;padding:0in 5.4pt 0in 5.4pt;height:28.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>hoover match case</span></font></p>
  </td>
  <td width=265 nowrap height=38 valign=bottom style='width:199.0pt;padding:
  0in 5.4pt 0in 5.4pt;height:28.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>&nbsp;</span></font></p>
  </td>
  <td width=131 height=38 valign=bottom style='width:98.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:28.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>&nbsp;</span></font></p>
  </td>
 </tr>
 <tr height=29 style='height:21.75pt'>
  <td width=167 height=29 style='width:125.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:21.75pt'>
  <p class=MsoNormal align=center style='text-align:center'><b><font size=1
  color=black face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;
  color:black;font-weight:bold'>Brand Check</span></font></b></p>
  </td>
  <td width=113 nowrap height=29 style='width:85.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:21.75pt'>
  <p class=MsoNormal align=center style='text-align:center'><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>hoover</span></font></p>
  </td>
  <td width=265 nowrap height=29 valign=bottom style='width:199.0pt;padding:
  0in 5.4pt 0in 5.4pt;height:21.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>big box</span></font></p>
  </td>
  <td width=131 height=29 valign=bottom style='width:98.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:21.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>true</span></font></p>
  </td>
 </tr>
 <tr height=62 style='height:46.5pt'>
  <td width=167 height=62 style='width:125.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:46.5pt'>
  <p class=MsoNormal align=center style='text-align:center'><b><font size=1
  color=black face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;
  color:black;font-weight:bold'>Bad Brand</span></font></b></p>
  </td>
  <td width=113 nowrap height=62 style='width:85.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:46.5pt'>
  <p class=MsoNormal align=center style='text-align:center'><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>walmart</span></font></p>
  </td>
  <td width=265 height=62 valign=bottom style='width:199.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:46.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>little box</span></font></p>
  </td>
  <td width=131 height=62 valign=bottom style='width:98.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:46.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>false</span></font></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
 10.0pt;font-family:Arial;color:navy'>Robert Costello</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Lead Systems Engineer</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>IMA Performance</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>E3-&nbsp;279A</span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>847.286.0910</span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Hehl, Thomas<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, January 16, 2009
10:25 AM<br>
<b><span style='font-weight:bold'>To:</span></b> </span></font><font size=2
 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>Rules Users List</span></font><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [rules-users] How to
access data after rule fires</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Is carton used on the
left hand side of the rule? All actions can only take place against an instance
that was referred to on the LHS.</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div>

<div class=MsoNormal align=center style='margin-left:.5in;text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center>

</span></font></div>

<p class=MsoNormal style='margin-left:.5in'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Costello, Robert<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, January 16, 2009
10:52 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Rules Users List<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [rules-users] How to
access data after rule fires</span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>The next issue I&#8217;m
running into is referencing a method in another class for the action.&nbsp; In
this case, we get a compile error &#8220;Carton.carton cannot be
resolved&#8221;&nbsp; </span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>I have both objects in
the import statement.&nbsp; Is the syntax incorrect? </span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=545
 style='width:409.0pt;margin-left:34.75pt;border-collapse:collapse'>
 <tr height=17 style='height:12.75pt'>
  <td width=167 nowrap height=17 valign=bottom bgcolor=silver style='width:
  125.0pt;border:solid black 1.0pt;background:silver;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>&nbsp;</span></font></p>
  </td>
  <td width=113 nowrap height=17 valign=bottom bgcolor=black style='width:85.0pt;
  border:none;border-bottom:solid black 1.0pt;background:black;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><b><font size=1 color=white face=Tahoma><span
  style='font-size:7.0pt;font-family:Tahoma;color:white;font-weight:bold'>RuleTable</span></font></b></p>
  </td>
  <td width=265 nowrap height=17 valign=bottom bgcolor=black style='width:199.0pt;
  border:none;border-bottom:solid black 1.0pt;background:black;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>&nbsp;</span></font></p>
  </td>
 </tr>
 <tr height=17 style='height:12.75pt'>
  <td width=167 nowrap height=17 valign=bottom bgcolor=silver style='width:
  125.0pt;border:solid black 1.0pt;border-top:none;background:silver;
  padding:0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><b><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma;font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
  <td width=113 nowrap height=17 valign=bottom bgcolor="#FFCC99"
  style='width:85.0pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;
  border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>CONDITION</span></font></p>
  </td>
  <td width=265 nowrap height=17 valign=bottom bgcolor="#FFCC99"
  style='width:199.0pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;
  border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>ACTION</span></font></p>
  </td>
 </tr>
 <tr height=18 style='height:13.5pt'>
  <td width=167 nowrap height=18 valign=bottom bgcolor=silver style='width:
  125.0pt;border:solid black 1.0pt;border-top:none;background:silver;
  padding:0in 5.4pt 0in 5.4pt;height:13.5pt'>
  <p class=MsoNormal><b><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma;font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
  <td width=113 height=18 valign=bottom bgcolor="#FFCC99" style='width:85.0pt;
  border:none;border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:13.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>product: Product</span></font></p>
  </td>
  <td width=265 height=18 valign=bottom bgcolor="#FFCC99" style='width:199.0pt;
  border:none;border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:13.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>carton: Carton</span></font></p>
  </td>
 </tr>
 <tr height=17 style='height:12.75pt'>
  <td width=167 height=17 valign=bottom bgcolor=silver style='width:125.0pt;
  border-top:none;border-left:solid black 1.0pt;border-bottom:none;border-right:
  solid black 1.0pt;background:silver;padding:0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><b><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma;font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
  <td width=113 height=17 valign=bottom bgcolor="#FFCC99" style='width:85.0pt;
  border-top:solid black 1.0pt;border-left:none;border-bottom:none;border-right:
  solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>brand: brand</span></font></p>
  </td>
  <td width=265 height=17 valign=bottom bgcolor="#FFCC99" style='width:199.0pt;
  border-top:solid black 1.0pt;border-left:none;border-bottom:none;border-right:
  solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><font size=2 color=black face="Courier New"><span
  style='font-size:10.0pt;font-family:"Courier New";color:black'>carton.isGood($param);</span></font></p>
  </td>
 </tr>
 <tr height=38 style='height:28.5pt'>
  <td width=167 height=38 bgcolor="#CCFFCC" style='width:125.0pt;border:solid black 1.0pt;
  border-bottom:none;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt;height:
  28.5pt'>
  <p class=MsoNormal align=center style='text-align:center'><b><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;font-weight:bold'>Cases</span></font></b></p>
  </td>
  <td width=113 height=38 valign=bottom bgcolor="#CCFFFF" style='width:85.0pt;
  background:#CCFFFF;padding:0in 5.4pt 0in 5.4pt;height:28.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>hoover match case</span></font></p>
  </td>
  <td width=265 nowrap height=38 valign=bottom style='width:199.0pt;padding:
  0in 5.4pt 0in 5.4pt;height:28.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>&nbsp;</span></font></p>
  </td>
 </tr>
 <tr height=29 style='height:21.75pt'>
  <td width=167 height=29 style='width:125.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:21.75pt'>
  <p class=MsoNormal align=center style='text-align:center'><b><font size=1
  color=black face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;
  color:black;font-weight:bold'>Brand Check</span></font></b></p>
  </td>
  <td width=113 nowrap height=29 style='width:85.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:21.75pt'>
  <p class=MsoNormal align=center style='text-align:center'><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>hoover</span></font></p>
  </td>
  <td width=265 nowrap height=29 valign=bottom style='width:199.0pt;padding:
  0in 5.4pt 0in 5.4pt;height:21.75pt'>
  <p class=MsoNormal align=center style='text-align:center'><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>TRUE</span></font></p>
  </td>
 </tr>
 <tr height=62 style='height:46.5pt'>
  <td width=167 height=62 style='width:125.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:46.5pt'>
  <p class=MsoNormal align=center style='text-align:center'><b><font size=1
  color=black face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;
  color:black;font-weight:bold'>Bad Brand</span></font></b></p>
  </td>
  <td width=113 nowrap height=62 style='width:85.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:46.5pt'>
  <p class=MsoNormal align=center style='text-align:center'><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>walmart</span></font></p>
  </td>
  <td width=265 height=62 valign=bottom style='width:199.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:46.5pt'>
  <p class=MsoNormal align=center style='text-align:center'><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>FALSE</span></font></p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Robert Costello</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Lead Systems Engineer</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>IMA Performance</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>E3-&nbsp;279A</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>847.286.0910</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

</div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Costello, Robert<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, January 13, 2009
12:34 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Rules Users List<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [rules-users] How to
access data after rule fires</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>So,
ultimately this helped.&nbsp; One other thing I needed to get this working was
a variable for my object, like you said below (brand.setGoodBrand).&nbsp; Once
I changed that, it fired.&nbsp; The suggestion to use parameters was also good
as it allows for more rule flexibility.&nbsp; &nbsp;When I used the
setGoodBrand(true), it only worked if there was some sort of value in the
action column for the rule, even an &#8216;x&#8217;, as Steven suggested.&nbsp;
&nbsp;And I am able to get the changed values either by direct reference to the
object or by getting the object from the session.&nbsp; </span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Thanks
to Edson and Steven for the fast replies!&nbsp; </span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=527
 style='width:395.0pt;margin-left:70.75pt;border-collapse:collapse'>
 <tr height=17 style='height:12.75pt'>
  <td width=167 nowrap height=17 valign=bottom bgcolor=silver style='width:
  125.0pt;border:solid black 1.0pt;background:silver;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>&nbsp;</span></font></p>
  </td>
  <td width=113 nowrap height=17 valign=bottom bgcolor=black style='width:85.0pt;
  border:none;border-bottom:solid black 1.0pt;background:black;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><b><font size=1 color=white face=Tahoma><span
  style='font-size:7.0pt;font-family:Tahoma;color:white;font-weight:bold'>RuleTable</span></font></b></p>
  </td>
  <td width=247 nowrap height=17 valign=bottom bgcolor=black style='width:185.0pt;
  border:none;border-bottom:solid black 1.0pt;background:black;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>&nbsp;</span></font></p>
  </td>
 </tr>
 <tr height=17 style='height:12.75pt'>
  <td width=167 nowrap height=17 valign=bottom bgcolor=silver style='width:
  125.0pt;border:solid black 1.0pt;border-top:none;background:silver;
  padding:0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><b><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma;font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
  <td width=113 nowrap height=17 valign=bottom bgcolor="#FFCC99"
  style='width:85.0pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;
  border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>CONDITION</span></font></p>
  </td>
  <td width=247 nowrap height=17 valign=bottom bgcolor="#FFCC99"
  style='width:185.0pt;border-top:none;border-left:none;border-bottom:solid black 1.0pt;
  border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>ACTION</span></font></p>
  </td>
 </tr>
 <tr height=18 style='height:13.5pt'>
  <td width=167 nowrap height=18 valign=bottom bgcolor=silver style='width:
  125.0pt;border:solid black 1.0pt;border-top:none;background:silver;
  padding:0in 5.4pt 0in 5.4pt;height:13.5pt'>
  <p class=MsoNormal><b><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma;font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
  <td width=113 nowrap height=18 valign=bottom bgcolor="#FFCC99"
  style='width:85.0pt;border:none;border-bottom:solid black 1.0pt;background:
  #FFCC99;padding:0in 5.4pt 0in 5.4pt;height:13.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>product: Product</span></font></p>
  </td>
  <td width=247 nowrap height=18 valign=bottom bgcolor="#FFCC99"
  style='width:185.0pt;border:none;border-bottom:solid black 1.0pt;background:
  #FFCC99;padding:0in 5.4pt 0in 5.4pt;height:13.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>&nbsp;</span></font></p>
  </td>
 </tr>
 <tr height=17 style='height:12.75pt'>
  <td width=167 height=17 valign=bottom bgcolor=silver style='width:125.0pt;
  border-top:none;border-left:solid black 1.0pt;border-bottom:none;border-right:
  solid black 1.0pt;background:silver;padding:0in 5.4pt 0in 5.4pt;height:12.75pt'>
  <p class=MsoNormal><b><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma;font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
  <td width=113 height=17 valign=bottom bgcolor="#FFCC99" style='width:85.0pt;
  border:none;border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>brand: brand</span></font></p>
  </td>
  <td width=247 height=17 valign=bottom bgcolor="#FFCC99" style='width:185.0pt;
  border:none;border-right:solid black 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt'>
  <p class=MsoNormal><font size=2 color=black face="Courier New"><span
  style='font-size:10.0pt;font-family:"Courier New";color:black'>product.setGoodBrand($param);</span></font></p>
  </td>
 </tr>
 <tr height=38 style='height:28.5pt'>
  <td width=167 height=38 bgcolor="#CCFFCC" style='width:125.0pt;border:solid black 1.0pt;
  border-bottom:none;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt;height:
  28.5pt'>
  <p class=MsoNormal align=center style='text-align:center'><b><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;font-weight:bold'>Cases</span></font></b></p>
  </td>
  <td width=113 height=38 valign=bottom bgcolor="#CCFFFF" style='width:85.0pt;
  background:#CCFFFF;padding:0in 5.4pt 0in 5.4pt;height:28.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>hoover match case</span></font></p>
  </td>
  <td width=247 nowrap height=38 valign=bottom style='width:185.0pt;padding:
  0in 5.4pt 0in 5.4pt;height:28.5pt'>
  <p class=MsoNormal><font size=1 face=Tahoma><span style='font-size:7.0pt;
  font-family:Tahoma'>&nbsp;</span></font></p>
  </td>
 </tr>
 <tr height=29 style='height:21.75pt'>
  <td width=167 height=29 style='width:125.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:21.75pt'>
  <p class=MsoNormal align=center style='text-align:center'><b><font size=1
  color=black face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;
  color:black;font-weight:bold'>Brand Check</span></font></b></p>
  </td>
  <td width=113 nowrap height=29 style='width:85.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:21.75pt'>
  <p class=MsoNormal align=center style='text-align:center'><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>hoover</span></font></p>
  </td>
  <td width=247 nowrap height=29 valign=bottom style='width:185.0pt;padding:
  0in 5.4pt 0in 5.4pt;height:21.75pt'>
  <p class=MsoNormal align=center style='text-align:center'><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>TRUE</span></font></p>
  </td>
 </tr>
 <tr height=62 style='height:46.5pt'>
  <td width=167 height=62 style='width:125.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:46.5pt'>
  <p class=MsoNormal align=center style='text-align:center'><b><font size=1
  color=black face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;
  color:black;font-weight:bold'>Bad Brand</span></font></b></p>
  </td>
  <td width=113 nowrap height=62 style='width:85.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:46.5pt'>
  <p class=MsoNormal align=center style='text-align:center'><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>walmart</span></font></p>
  </td>
  <td width=247 height=62 valign=bottom style='width:185.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:46.5pt'>
  <p class=MsoNormal align=center style='text-align:center'><font size=1
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>FALSE</span></font></p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div>

<p class=MsoNormal style='margin-left:1.0in'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Robert
Costello</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-left:1.0in'><font size=3 color=navy
face="Times New Roman"><span style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

</div>

<p class=MsoNormal style='margin-left:1.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b>
rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] <b><span style='font-weight:bold'>On
Behalf Of </span></b>Steven Williams<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, January 12, 2009
6:26 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Rules Users List<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [rules-users] How to
access data after rule fires</span></font></p>

<p class=MsoNormal style='margin-left:1.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
1.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>If
you put an X or something in the cell (i.e. just don't leave it empty) it
should also work.</span></font></p>

<div>

<p class=MsoNormal style='margin-left:1.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On Tue, Jan 13, 2009 at 10:57 AM, Edson Tirelli &lt;<a
href="mailto:tirelli@post.com">tirelli@post.com</a>&gt; wrote:</span></font></p>

<p class=MsoNormal style='margin-left:1.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
&nbsp;&nbsp;&nbsp;&nbsp; The action is not being executed. I don't use decision
tables frequently, but I think that it ignores empty cells and is generating an
empty consequence for your rule. Usually, you would place the method call on
the header prototype and the parameter in the cell. So your cell would be:<br>
<br>
| hoover | true |<br>
| xyz | false |<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; The method prototype would be something like (please
check the correct syntax in the manual):<br>
<br>
brand.setGoodBrand( $param );<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; Where the engine would replace $param by the value you
write in the cell.</span></font></p>

<div>

<div>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
1.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp; []s<br>
&nbsp;&nbsp;&nbsp;&nbsp; Edson</span></font></p>

<div>

<p class=MsoNormal style='margin-left:1.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>2009/1/12 Costello, Robert &lt;<a
href="mailto:rcost10@searshc.com" target="_blank">rcost10@searshc.com</a>&gt;</span></font></p>

<div link=blue vlink=blue>

<div>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>I tried that and it
returned false, which doesn't make sense to me since the rule firing is to set
the value to true, and in the execution the rule does fire. &nbsp;</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
StatefulKnowledgeSession session = kbase.newStatefulKnowledgeSession();</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Product p = </span></font><b><font size=2 color="#7f0055" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>new</span></font></b><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'> Product();</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
p.setBrand(</span></font><font size=2 color="#2a00ff" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#2A00FF'>&quot;hoover&quot;</span></font><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'>);</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span style='-moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial;background-position-x:0%;
background-position-y:0%;background-attachment:scroll'><span style='background:
silver'>session</span></span>.insert( p );</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><b><font size=2 color="#7f0055" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#7F0055;font-weight:
bold'>int</span></font></b><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'> u = <span
style='-moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
-moz-background-inline-policy: -moz-initial;background-position-x:0%;
background-position-y:0%;background-attachment:scroll'><span style='background:
silver'>session</span></span>.fireAllRules();</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.</span></font><i><font size=2 color="#0000c0" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#0000C0;font-style:
italic'>out</span></font></i><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>.println(u + </span></font><font
size=2 color="#2a00ff" face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:#2A00FF'>&quot; many rules fired&quot;</span></font><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'>);</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
System.</span></font><i><font size=2 color="#0000c0" face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:#0000C0;font-style:
italic'>out</span></font></i><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>.println(</span></font><font
size=2 color="#2a00ff" face="Courier New"><span style='font-size:10.0pt;
font-family:"Courier New";color:#2A00FF'>&quot;is brand good? &quot;</span></font><font
size=2 color=black face="Courier New"><span style='font-size:10.0pt;font-family:
"Courier New";color:black'> + p.isGoodBrand());</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>Here's a snippet
of the rule (decision table)</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;</span></font></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=446
 style='width:334.85pt;margin-left:1.5in;border-collapse:collapse'>
 <tr height=17 style='height:12.75pt'>
  <td width=167 nowrap height=17 valign=bottom bgcolor=silver style='width:
  125.0pt;border:solid black 1.0pt;background:silver;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt;-moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
  -moz-background-inline-policy: -moz-initial;background-position-x:0%;
  background-position-y:0%;background-attachment:scroll'>
  <p><b><font size=1 face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;
  font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
  <td width=113 nowrap height=17 valign=bottom bgcolor="#FFCC99"
  style='width:85.0pt;border:solid windowtext 1.0pt;border-left:none;
  background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;height:12.75pt;border-color:
  -moz-use-text-color;-moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
  -moz-background-inline-policy: -moz-initial;background-position-x:0%;
  background-position-y:0%;background-attachment:scroll'>
  <p><font size=1 face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>CONDITION</span></font></p>
  </td>
  <td width=166 nowrap height=17 valign=bottom bgcolor="#FFCC99"
  style='width:124.85pt;border:solid windowtext 1.0pt;border-left:none;
  background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;height:12.75pt;border-color:
  -moz-use-text-color;-moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
  -moz-background-inline-policy: -moz-initial;background-position-x:0%;
  background-position-y:0%;background-attachment:scroll'>
  <p><font size=1 face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>ACTION</span></font></p>
  </td>
 </tr>
 <tr height=18 style='height:13.5pt'>
  <td width=167 nowrap height=18 valign=bottom bgcolor=silver style='width:
  125.0pt;border:solid windowtext 1.0pt;border-top:none;background:silver;
  padding:0in 5.4pt 0in 5.4pt;height:13.5pt;border-color:-moz-use-text-color black black;
  -moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
  -moz-background-inline-policy: -moz-initial;background-position-x:0%;
  background-position-y:0%;background-attachment:scroll'>
  <p><b><font size=1 face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;
  font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
  <td width=280 nowrap colspan=2 height=18 valign=bottom bgcolor="#FFCC99"
  style='width:209.85pt;border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;background:#FFCC99;padding:0in 5.4pt 0in 5.4pt;
  height:13.5pt;border-color:-moz-use-text-color black black -moz-use-text-color;
  -moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
  -moz-background-inline-policy: -moz-initial;background-position-x:0%;
  background-position-y:0%;background-attachment:scroll'>
  <p><font size=1 face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>Product</span></font></p>
  </td>
 </tr>
 <tr height=17 style='height:12.75pt'>
  <td width=167 height=17 valign=bottom bgcolor=silver style='width:125.0pt;
  border-top:none;border-left:solid windowtext 1.0pt;border-bottom:none;
  border-right:solid windowtext 1.0pt;background:silver;padding:0in 5.4pt 0in 5.4pt;
  height:12.75pt;border-color:-moz-use-text-color black;-moz-background-clip: -moz-initial;
  -moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
  background-position-x:0%;background-position-y:
  0%;background-attachment:
  scroll'>
  <p><b><font size=1 face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;
  font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
  <td width=113 height=17 valign=bottom bgcolor="#FFCC99" style='width:85.0pt;
  border:none;border-right:solid windowtext 1.0pt;background:#FFCC99;
  padding:0in 5.4pt 0in 5.4pt;height:12.75pt;border-color:-moz-use-text-color black -moz-use-text-color -moz-use-text-color;
  -moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
  -moz-background-inline-policy: -moz-initial;background-position-x:0%;
  background-position-y:0%;background-attachment:scroll'>
  <p><font size=1 face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>brand</span></font></p>
  </td>
  <td width=166 height=17 valign=bottom bgcolor="#FFCC99" style='width:124.85pt;
  border:none;border-right:solid windowtext 1.0pt;background:#FFCC99;
  padding:0in 5.4pt 0in 5.4pt;height:12.75pt;border-color:-moz-use-text-color black -moz-use-text-color -moz-use-text-color;
  -moz-background-clip: -moz-initial;-moz-background-origin: -moz-initial;
  -moz-background-inline-policy: -moz-initial;background-position-x:0%;
  background-position-y:0%;background-attachment:scroll'>
  <p><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;
  font-family:"Courier New";color:black'>setGoodBrand(true);</span></font></p>
  </td>
 </tr>
 <tr height=38 style='height:28.5pt'>
  <td width=167 height=38 bgcolor="#CCFFCC" style='width:125.0pt;border:solid windowtext 1.0pt;
  border-bottom:none;background:#CCFFCC;padding:0in 5.4pt 0in 5.4pt;height:
  28.5pt;border-color:-moz-use-text-color;-moz-background-clip: -moz-initial;
  -moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
  background-position-x:0%;background-position-y:
  0%;background-attachment:
  scroll'>
  <p align=center style='text-align:center'><b><font size=1 face=Tahoma><span
  style='font-size:7.0pt;font-family:Tahoma;font-weight:bold'>Cases</span></font></b></p>
  </td>
  <td width=113 height=38 valign=bottom bgcolor="#CCFFFF" style='width:85.0pt;
  background:#CCFFFF;padding:0in 5.4pt 0in 5.4pt;height:28.5pt;-moz-background-clip: -moz-initial;
  -moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
  background-position-x:0%;background-position-y:
  0%;background-attachment:
  scroll'>
  <p><font size=1 face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>hoover
  match case</span></font></p>
  </td>
  <td width=166 height=38 valign=bottom bgcolor="#FFFF99" style='width:124.85pt;
  background:#FFFF99;padding:0in 5.4pt 0in 5.4pt;height:28.5pt;-moz-background-clip: -moz-initial;
  -moz-background-origin: -moz-initial;-moz-background-inline-policy: -moz-initial;
  background-position-x:0%;background-position-y:
  0%;background-attachment:
  scroll'>
  <p><font size=1 face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma'>&nbsp;</span></font></p>
  </td>
 </tr>
 <tr height=29 style='height:21.75pt'>
  <td width=167 height=29 style='width:125.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:21.75pt'>
  <p align=center style='text-align:center'><b><font size=1 color=black
  face=Tahoma><span style='font-size:7.0pt;font-family:Tahoma;color:black;
  font-weight:bold'>Brand Check</span></font></b></p>
  </td>
  <td width=113 nowrap height=29 style='width:85.0pt;padding:0in 5.4pt 0in 5.4pt;
  height:21.75pt'>
  <p align=center style='text-align:center'><font size=1 face=Tahoma><span
  style='font-size:7.0pt;font-family:Tahoma'>hoover</span></font></p>
  </td>
  <td width=166 nowrap height=29 style='width:124.85pt;padding:0in 5.4pt 0in 5.4pt;
  height:21.75pt'>
  <p align=center style='text-align:center'><b><font size=1 face=Tahoma><span
  style='font-size:7.0pt;font-family:Tahoma;font-weight:bold'>&nbsp;</span></font></b></p>
  </td>
 </tr>
</table>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>And the console returns:</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>1 many rules
fired</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=black face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>is brand good? false</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;</span></font></p>

<div>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Robert Costello</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>Lead Systems Engineer</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>IMA Performance</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>E3-&nbsp;279A</span></font></p>

<p style='margin-left:1.5in'><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>847.286.0910</span></font></p>

<p style='margin-left:1.5in'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

<p style='margin-left:1.5in'><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>&nbsp;</span></font></p>

</div>

<div>

<div>

<p style='margin-left:2.0in'><font size=2 face=Tahoma><span style='font-size:
10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> <a
href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>
[mailto:<a href="mailto:rules-users-bounces@lists.jboss.org" target="_blank">rules-users-bounces@lists.jboss.org</a>]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Edson Tirelli<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, January 12, 2009
4:16 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Rules Users List<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [rules-users] How to
access data after rule fires</span></font></p>

<p style='margin-left:2.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>&nbsp;</span></font></p>

<p style='margin-right:0in;margin-bottom:12.0pt;margin-left:2.0in'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
&nbsp;&nbsp; Can't you keep the reference to your object while firing the
rules?<br>
<br>
MyObject x = ...<br>
ksession.insert( x );<br>
ksession.fireAllRules();<br>
boolean result = x.getBooleanAttribute();<br>
<br>
&nbsp;&nbsp;&nbsp; []s<br>
&nbsp;&nbsp;&nbsp; Edson</span></font></p>

<div>

<p style='margin-left:2.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>2009/1/12 Costello, Robert &lt;<a
href="mailto:rcost10@searshc.com" target="_blank">rcost10@searshc.com</a>&gt;</span></font></p>

<p style='margin-left:2.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>So, how do I access data after the rules fire?<br>
<br>
If one has a rule which modifies a field on an object (a boolean, for<br>
example), and you want to return the object after the rules are<br>
complete, how do you do it?<br>
<br>
I tried this using a StatefulKnowledgeSession, getting an object<br>
collection after the rules fire, but I don't see that this works.<br>
<br>
Also googled the heck out of this and looked in all the documentation.<br>
I must be missing something, because the docs generally are pretty good.<br>
<br>
<br>
Any hints?<br>
<br>
Thanks in advance,<br>
<br>
Robert Costello<br>
<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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></span></font></p>

</div>

<p style='margin-left:2.0in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br clear=all>
<br>
-- <br>
&nbsp;Edson Tirelli<br>
&nbsp;JBoss Drools Core Development<br>
&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com"
target="_blank">www.jboss.com</a></span></font></p>

</div>

</div>

</div>

</div>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
1.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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></span></font></p>

</div>

<p class=MsoNormal style='margin-left:1.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br clear=all>
<br>
-- <br>
&nbsp;Edson Tirelli<br>
&nbsp;JBoss Drools Core Development<br>
&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com"
target="_blank">www.jboss.com</a></span></font></p>

</div>

</div>

<p class=MsoNormal style='margin-right:0in;margin-bottom:12.0pt;margin-left:
1.5in'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><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></span></font></p>

</div>

<p class=MsoNormal style='margin-left:1.5in'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><br>
<br clear=all>
<br>
-- <br>
Steven Williams<br>
<br>
Supervising Consultant<br>
<br>
Object Consulting<br>
Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501<br>
<a href="mailto:steven.williams@objectconsulting.com.au">steven.williams@objectconsulting.com.au</a><br>
<a href="http://www.objectconsulting.com.au">www.objectconsulting.com.au</a><br>
<br>
consulting | development | training | support<br>
our experience makes the difference</span></font></p>

</div>

</body>

</html>