Hello again,

what are disadvantages and advantages of the following possibillities to to get access to working memory facts from outside:

in drl:
query "queryname"
...
end

in java code
queryResults results = workingMemory.getQueryResults( "queryname" );
global java.util.HashMap service 
rule "XY"
when
f: FactX ()
then
ResultFact resultFact = new ResultFact();
service.put(f.getName(), resultFact);
insert(resultFact);
end

kind regards
tom