Hi Malinda,<br><br>rule &quot;myrule&quot;<br> when<br>   //some condition<br>  then<br>   insert(new Object());<br>   // or<br>   Variable var = new Variable();<br>   insert(var);<br>end<br><br><br><br><div class="gmail_quote">
On Wed, Feb 17, 2010 at 4:25 PM, Malinda Kaushalye <span dir="ltr">&lt;<a href="mailto:kaushalye@yahoo.com">kaushalye@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi All,<br>
How do I insert new facts/events to the working memory from RHS?<br>
<br>
rule &quot;myrule&quot;<br>
when<br>
//Some condition<br>
then<br>
<br>
//Create and Insert some new events/facts to the working memory<br>
end<br>
<br>
Cheers,<br>
Malinda<br>
<br>
<br>
<br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br>Enda J Diggins<br>