[rules-users] Inserting collection of facts in rule Consequence

Anstis, Michael (M.) manstis1 at ford.com
Mon Feb 9 10:27:02 EST 2009


The RHS is just a block of Java, do what you like.

There is an implicit variable drools available in the RHS that equates
to an instance of KnowledgeHelper.

(This was 4.x - Hundson doesn't show a KnowledgeHelper for 5 so I'm
guessing things have changed). 

-----Original Message-----
From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of techy
Sent: 09 February 2009 15:14
To: rules-users at lists.jboss.org
Subject: Re: [rules-users] Inserting collection of facts in rule
Consequence


I would appreciate If someone can clarify this.

Thanks in advance


techy wrote:
> 
> Hello,
> 
> Is there way to insert all facts from collection (similar to
> session.execute(collection)) in the rule consequence ? 
> 
> Thanks!
> 

-- 
View this message in context:
http://www.nabble.com/Inserting-collection-of-facts-in-rule-Consequence-
tp21814308p21914860.html
Sent from the drools - user mailing list archive at Nabble.com.

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




More information about the rules-users mailing list