[rules-users] Indicating "used" rules

Andrzej Grzelak andrzej.grzelak at g.pl
Mon Sep 23 11:06:58 EDT 2013


Hello again,

Im making some kind of expert system. And now i got new problem:

User is asked sequentially for propetieries of object, than I modify object
propetieries, then i call update() and fireAllRules() to check for any
answers.
It is repeated for every object property till we fire rule with answer.

Now problem comes : When user decline answer we need to find another one.
But first answer will fire every time now. That's not what i need....

Making somewhere in app list of "false answers" and then striping out them
on return wont work. My app flow is determined by drools rule fire - if one
of "answer rules" fires i return that answer, normally i would ask another
question.

I would need to indicate drools somehow to delete/deactivate that rule.


Thanks for any help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130923/351e290c/attachment.html 


More information about the rules-users mailing list