Thanks folks. 



From: Enda J Diggins <ejdiggins@gmail.com>
To: Rules Users List <rules-users@lists.jboss.org>
Sent: Thu, 18 February, 2010 3:38:35 AM
Subject: Re: [rules-users] Insert new facts from RHS

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