Which version of drools are you using? The document you pointed out seems a little bit old.<div>Since Drools 5, you can use globals to use application&#39;s data in your DRLs.</div><div>If you are using Drools 5 or higher, I suggest you to read the documentation about globals.</div>

<div><br></div><div>Best Regards, <br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>


<br><br><div class="gmail_quote">2011/7/28 Matthew Erler <span dir="ltr">&lt;<a href="mailto:wires8@yahoo.com">wires8@yahoo.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><div>Can someone please show me an example where application data is added to<br>workingMemory as described here:<br><a href="http://docs.codehaus.org/display/DROOLS/Application+Data" target="_blank">http://docs.codehaus.org/display/DROOLS/Application+Data</a> using<br>

StatefulKnowledgeSession?</div>
<div>I have a need to populate an object from a rules file and I don&#39;t want that<br>object itself to be treated as a rule.  All the examples I can find refer to<br>the use of ruleBase to get workingMemory.  My code utilizes<br>

StatefulKnowledgeSession to fire rules and I don&#39;t see how to get ruleBase<br>or workingMemory from it.  Thanks.</div></td></tr></tbody></table><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br></div>