What are the steps you are following? Something like this?:
1. The agent creates the kbase
2. Get kbase from kagent
3. Create a stateless ksession
4. insert some facts
5. fire all rules
6. check result
7. modify drl
8. wait until kagent rebuilds the kbase
9. get the new kbase from kagent
10. Create a stateless ksession
11. insert some facts
12. fire all rules
13. check result
Also, which version of Drools are you using?
Best Regards,
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Esteban Aliverti
- Developer @
http://www.plugtree.com
- Blog @
http://ilesteban.wordpress.com
On Tue, Aug 23, 2011 at 9:35 PM, dcrissman <dac(a)akc.org> wrote:
It seems that the rules that stop firing are dependent on another
rule
which
is responsible for creating drools declared objects with a logicalInsert.
Seems to be the only commonality that I can find.
Oh, and I am using a stateless session.
Example:
declare MyClass
end
rule "Create Instance"
when
//whatever
then
logicalInsert(new MyClass());
end
rule "Dependent"
when
MyClass(
//whatever
)
then
//do something
end
--
View this message in context:
http://drools.46999.n3.nabble.com/Rules-stop-firing-when-white-space-is-c...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users