Would the other retractions be automatically provided for by Drools' Truth Maintenance?
Otherwise, passing a StatefulKnowledgeSession to a WorkingMemoryEventHandler subclass and invoking it's methods should, IMO, not be an issue. Have you tried it and experienced issues? On 6 December 2010 09:32, Bruno Freudensprung <[email protected] > wrote: > Hi everyone, > > Do you know if it is possible to insert/modify/retract facts in a > working memory event handler? > > Here is my use case actually: I want my users to be able to write rules > like "When ... Then retract X" without having to bother with the > consequences of retracting X on the other objects of the sessions (some > of them might be retracted as well). These consequences can be expressed > by rules, but I would like them to be kind of "part of the framework" > and it would be easier for users if those rules were implicitly defined. > > Many thanks in advance for any hint, > Best regards, > > Bruno. > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
