How do we do that?  Since we are using the rules server, all we are doing is calling with an HTTP call with the object and the rules flow we want to call. We then receive back the results as the HTTP response. <br><br>
<div class="gmail_quote">2011/2/25 Greg Barton <span dir="ltr">&lt;<a href="mailto:greg_barton@yahoo.com">greg_barton@yahoo.com</a>&gt;</span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">Did you notify the engine that your data has been updated? 
<div><br></div>
<div><a href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html#d0e1436" target="_blank">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html#d0e1436</a></div>

<div><br></div>
<div>See section 3.3.3.1.3<br><br>--- On <b>Fri, 2/25/11, Jon Gil <i>&lt;<a href="mailto:jonsprogrammingemail@gmail.com" target="_blank">jonsprogrammingemail@gmail.com</a>&gt;</i></b> wrote:<br>
<blockquote style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><br>From: Jon Gil &lt;<a href="mailto:jonsprogrammingemail@gmail.com" target="_blank">jonsprogrammingemail@gmail.com</a>&gt;<br>
Subject: [rules-users] Object updated as rules are running<br>To: <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>Date: Friday, February 25, 2011, 9:16 AM 
<div>
<div></div>
<div class="h5"><br><br>
<div>
<div>Hi, I have a very simple rules flow that I am getting odd results from.  For now, our project is planning on using spreadsheets  and a drools server.</div>
<div> </div>
<div>The test project we are working on accepts a movie name from an external source and creates a Movie object that is passed to the rules.   The first rule looks at the movieName attribute and assigns it a movieStar using the Movie objects setMovieStar call.  We have printLn statements before and after this action to confirm that it does in fact work.  </div>

<div> </div>
<div>The second rule, where things go wrong, checks the MovieStar attribute, but no matter what we&#39;ve just set it to, it always uses the value (&quot;NoStarYet&quot;) that was originally created when we create the Movie object in our Java code in the condition of our second rule.  We&#39;ve tried using the getMovieStar call in the condition, but it has been throwing errors when we startup the Drools Server.</div>

<div> </div>
<div>When we retreive the Movie object from the resultSet, the movieStar attribute is set correclty, but we can&#39;t get our flow to go as expected.  </div>
<div> </div>
<div>This really seems like a simple issue, but we&#39;ve had no luck with it.  Any thoughts?  Does the rules engine use the getter methods for conditions or does it use the values from the entityXML we pass in?  Is there a way to make the engine update the object between running each rule?  </div>

<div> </div>
<div>Any help is appreciated greatly.</div></div><br></div></div>-----Inline Attachment Follows----- 
<div class="im"><br><br>
<div>_______________________________________________<br>rules-users mailing list<br><a href="http://mc/compose?to=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><br>
</div></div></blockquote></div></td></tr></tbody></table><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><br></blockquote></div><br>