Re: [rules-users] How to add application data via StatefulKnowledgeSession

2011-07-29 Thread Wolfgang Laun
tainer.fill(new ContainerContents()); > globalContainer.setContentsFlag(true); > > > --- On *Fri, 7/29/11, Esteban Aliverti *wrote: > > > From: Esteban Aliverti > Subject: Re: [rules-users] How to add application data via > StatefulKnowledgeSession > To: "Rules

Re: [rules-users] How to add application data via StatefulKnowledgeSession

2011-07-29 Thread Matthew Erler
Esteban Aliverti wrote: From: Esteban Aliverti Subject: Re: [rules-users] How to add application data via StatefulKnowledgeSession To: "Rules Users List" Date: Friday, July 29, 2011, 3:51 AM Which version of drools are you using? The document you pointed out seems a little bit old.Si

Re: [rules-users] How to add application data via StatefulKnowledgeSession

2011-07-29 Thread Wolfgang Laun
2011/7/28 Matthew Erler > Can someone please show me an example where application data is added to > workingMemory as described here: > http://docs.codehaus.org/display/DROOLS/Application+Data using > StatefulKnowledgeSession? > This is very old reference, based on a Drools version that's rather

Re: [rules-users] How to add application data via StatefulKnowledgeSession

2011-07-29 Thread Esteban Aliverti
Which version of drools are you using? The document you pointed out seems a little bit old. Since Drools 5, you can use globals to use application's data in your DRLs. If you are using Drools 5 or higher, I suggest you to read the documentation about globals. Best Regards, XXX

[rules-users] How to add application data via StatefulKnowledgeSession

2011-07-28 Thread Matthew Erler
Can someone please show me an example where application data is added to workingMemory as described here: http://docs.codehaus.org/display/DROOLS/Application+Data using StatefulKnowledgeSession? I have a need to populate an object from a rules file and I don't want that object itself to be treated