Why does it not work? Are you getting an error? What is your expectation?<br><br><div class="gmail_quote">On 19 October 2010 15:43, nkumar <span dir="ltr">&lt;<a href="mailto:nkumar@objectwave.com">nkumar@objectwave.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
AvailabilityRuleState s = new AvailabilityRuleState();<br>
                        s.setValue(&quot;Not Available&quot;);<br>
                        s.setReason(&quot;Type Specific&quot;);<br>
                        s.setReference(&quot;Availability rule FrontAxle and FrontSuspension Type&quot;);<br>
                        resultState.add(s);<br>
<br>
<br>
<br>
this code is not working..can you please tell me what will be the syntax for<br>
creating a new Object in the rule consequence.<br>
<font color="#888888"><br>
<br>
--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/How-can-i-create-a-new-object-in-consequence-part-tp1728632p1732657.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/How-can-i-create-a-new-object-in-consequence-part-tp1728632p1732657.html</a><br>

Sent from the Drools - User mailing list archive at Nabble.com.<br>
</font><div><div></div><div class="h5">_______________________________________________<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>