[rules-users] Insert new facts from RHS

Mauricio Salatino salaboy at gmail.com
Wed Feb 17 11:35:40 EST 2010


just calling
insert(new Person());
in the RHS

On Wed, Feb 17, 2010 at 1:25 PM, Malinda Kaushalye <kaushalye at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100217/f380292f/attachment.html 


More information about the rules-users mailing list