How do you plan to come to grips with the sequence of states: before B is on the agenda, then: B is on the agenda, then (after B fires): B is not on the agenda? Phase one and three are likely to fire rule A.
Wouldn't it be easier to use truth maintenance or a fact representing the right condition? -W On 1 May 2013 09:03, oresch <[email protected]> wrote: > Hi, > > I am trying to do the following: > > 1. To check if a rule (B) is present in the agenda as a condition for rule > (A). > 2. If not: to fire rule (A). > > How can I query the rules actually placed in the agenda? Preferably > directly > from a rule or if this is not possible from the java code? > > Thank you very much > Olaf > > > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Using-rules-in-agenda-as-a-condition-in-a-rule-tp4023598.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > 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
