Hi All, I thought this: public void retractFacts() { Iterator iter = workingMemory.iterateFactHandles(); while (iter.hasNext()) { FactHandle handle = iter.next(); workingMemory.retract(handle); }
} would retract all facts, but in fact I get a compilation error because iter.next is an object, not a factHandle. How do I retract facts using an iterator iterating all facts? kind regards Christine _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users