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-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of techy Sent: 09 February 2009 15:14 To: rules-users@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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users