Thanks for your suggestion about activating the console logger. That helped me find out what's going on. After I fixed a stupid logic error on my part, I found out that my basic solution will work. When the user decides to cancel the session, I need to make sure that the current rule's RHS processing completes. Then, my stop rule will fire and clear the agenda, and fireAllRules() will finish normally.
-- View this message in context: http://drools.46999.n3.nabble.com/How-to-terminate-a-StatefulKnowledgeSession-tp3355958p3370067.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users