I will try to specify my
problem:
I think every insert()-action
leads to a refresh of the agenda. The same should be happen if an object would
be retracted, but it don’t.
There are 10 objects in
the workingMemory and in this constellation no rules will be fired. This is the
expected behaviour and the agenda is empty. Now I retract 2 objects from the
workingMemory. I proofed that the 2 objects are deleted from the workingMemory.
Afterwards fireallrules() is executed and the rule should be fired, but the
agenda is also empty.
The rule is tested: it works.
When I insert only 8 objects at the beginning everything works fine.
Thanks a lot
Dennis Jansen
Von: rules-users-bounces@lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] Im
Auftrag von Edson Tirelli
Gesendet: Dienstag, 18. Dezember
2007 12:05
An: Rules Users List
Betreff: Re: [rules-users]
retract() problem
You did not provided enough information on this for us to help.
NOT and EXIST are existential CE and reason over presence or
absence of facts and they work fine.
[]s
Edson
2007/12/18, Guardian <d.h.j.@gmx.de>:
Hi all,
The problem is, if i retract some objects (EJB3.0 entities) from my
workingMemory the agenda wont´t be refreshed. There are rules that should be
fired if the objects are retracted from the workingMemory, but nothing
happens.
Thanks,
Dennis Jansen
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
Edson Tirelli
JBoss Drools Core Development
Office: +55 11 3529-6000
Mobile: +55 11 9287-5646
JBoss, a division of Red Hat @ www.jboss.com