<div>Problem is Customer &amp; CustomerDetail are not related. Is there any work around? Also I looked at the rete tree for matches using Jared Davis&#39;s mail , this also results in the same identical structure as with | or in.</div>

<div><br><br> </div>
<div class="gmail_quote">On Wed, Nov 18, 2009 at 11:18 AM, Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">2009/11/18 Lindy hagan &lt;<a href="mailto:lindyhagan@gmail.com">lindyhagan@gmail.com</a>&gt;:<br>
<div class="im">&gt;<br>&gt;<br>&gt; Adding to my initial question , based on the condition satisfied how can I<br>&gt; set a variable to &quot;Y&quot;in a different object (Other than<br>&gt; customer)?customerDetail is not static.<br>
&gt; rule &quot;Age Factor&quot;<br>&gt;      when<br>&gt;           m : Customer( age matches &quot;18,21,33,28,40,41&quot;)<br>&gt;      then<br>&gt;          System.out.println(&quot;Customer falls in age group &quot;);<br>
&gt;          // doAgeTasks();<br>&gt;        customerDetail.setFallsInAgeGroup(&quot;Y&quot;);  -- Need to do something like this.How can I do this?<br>&gt; end<br><br></div>There must be some link between a customer&#39;s Customer and CustomerDetail facts.<br>
<br>when<br> $m : Customer( $id : id, age matches &quot;18,21,33,28,40,41&quot;)<br> $d : CustomerDetail( id == $id )<br>then<br> $d.setFallsInAgeGroup(&quot;Y&quot;);<br><font color="#888888"><br>-W<br></font>
<div>
<div></div>
<div class="h5"><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>
</div></div></blockquote></div><br>