[rules-users] Insert new facts from RHS
Enda J Diggins
ejdiggins at gmail.com
Wed Feb 17 11:38:35 EST 2010
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 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
>
--
Enda J Diggins
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100217/f4adb2cf/attachment.html
More information about the rules-users
mailing list