[rules-users] How to add application data via StatefulKnowledgeSession
Wolfgang Laun
wolfgang.laun at gmail.com
Fri Jul 29 04:00:52 EDT 2011
2011/7/28 Matthew Erler <wires8 at 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?
>
This is very old reference, based on a Drools version that's rather
outdated.
> 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.
>
You were pointed to using a "global" variable, weren't you? Read about this
in the current documentation.
-W
> 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110729/735d55f2/attachment.html
More information about the rules-users
mailing list