[rules-users] Using rules in agenda as a condition in a rule

Wolfgang Laun wolfgang.laun at gmail.com
Wed May 1 03:53:28 EDT 2013


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 <olaf.resch at t-online.de> 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
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130501/00b37ea7/attachment.html 


More information about the rules-users mailing list