yeah you can do that, you can write rules about rules activations with the
declarative agenda feature.
Check this out:
http://planet.jboss.org/post/declarative_agenda_and_control_rules
On Mon, Sep 23, 2013 at 4:06 PM, Andrzej Grzelak <andrzej.grzelak(a)g.pl>wrote:
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.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
- MyJourney @
http://salaboy.com <
http://salaboy.wordpress.com>
- Co-Founder @
http://www.jugargentina.org
- Co-Founder @
http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -