Hi Malinda,

rule "myrule"
 when
   //some condition
  then
   insert(new Object());
   // or
   Variable var = new Variable();
   insert(var);
end



On Wed, Feb 17, 2010 at 4:25 PM, Malinda Kaushalye <kaushalye@yahoo.com> wrote:
Hi All,
How do I insert new facts/events to the working memory from RHS?

rule "myrule"
when
//Some condition
then

//Create and Insert some new events/facts to the working memory
end

Cheers,
Malinda





_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
Enda J Diggins