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, 

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Esteban Aliverti
- Developer @ http://www.plugtree.com
- Blog @ http://ilesteban.wordpress.com


2011/7/28 Matthew Erler <wires8@yahoo.com>
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 as a rule.  All the examples I can find refer to
the use of ruleBase to get workingMemory.  My code utilizes
StatefulKnowledgeSession to fire rules and I don't see how to get ruleBase
or workingMemory from it.  Thanks.

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