just calling<br>insert(new Person());<br>in the RHS<br><br><div class="gmail_quote">On Wed, Feb 17, 2010 at 1:25 PM, Malinda Kaushalye <span dir="ltr"><<a href="mailto:kaushalye@yahoo.com">kaushalye@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi All,<br>
How do I insert new facts/events to the working memory from RHS?<br>
<br>
rule "myrule"<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> - <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br> - <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> - Salatino "Salaboy" Mauricio -<br>