2011/7/28 Matthew Erler <span dir="ltr">&lt;<a href="mailto:wires8@yahoo.com">wires8@yahoo.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
<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></td></tr></tbody></table></blockquote><div><br>This is very old reference, based on a Drools version that&#39;s rather outdated.<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">

<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.</div></td></tr></tbody></table></blockquote><div><br>You were pointed to  using a &quot;global&quot; variable, weren&#39;t you? Read about this in the current documentation.<br>
<br>-W<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
<div>  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>