You can use drools template to define a template file and then populate the variables of the template using your db data.
Best Regards, XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Wed, Dec 22, 2010 at 7:25 AM, Jonathan Woods < [email protected]> wrote: > Insert the value from the database as a fact, and your rules will be > able to reason on the basis of it. > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of wasim.khan318 > Sent: 22 December 2010 10:19 > To: [email protected] > Subject: [rules-users] drools from database > > > can i write code like that > when > ItemId==$itemid > then > // > > in this i want $itemid value come from database > > -- > View this message in context: > http://drools-java-rules-engine.46999.n3.nabble.com/drools-from-database > -tp2130575p2130575.html > Sent from the Drools - User mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
