<div dir="ltr"><div><div>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.<br>
<br></div>Wouldn&#39;t it be easier to use truth maintenance or a fact representing the right condition?<br><br></div>-W<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 1 May 2013 09:03, oresch <span dir="ltr">&lt;<a href="mailto:olaf.resch@t-online.de" target="_blank">olaf.resch@t-online.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am trying to do the following:<br>
<br>
1. To check if a rule (B) is present in the agenda as a condition for rule<br>
(A).<br>
2. If not: to fire rule (A).<br>
<br>
How can I query the rules actually placed in the agenda? Preferably directly<br>
from a rule or if this is not possible from the java code?<br>
<br>
Thank you very much<br>
Olaf<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Using-rules-in-agenda-as-a-condition-in-a-rule-tp4023598.html" target="_blank">http://drools.46999.n3.nabble.com/Using-rules-in-agenda-as-a-condition-in-a-rule-tp4023598.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br></div>