In a rule 1, I call a function and I insert a new Object in the
workingMemory. An another rule (rule 2) match when the new object is in the
workingMemory.
In JBoss4, It's ok
In JBoss5, rule 2 not match even though the new object is in the
workinMemory.
Example:
--------
function boolean simpleFunction(){
....................
}
rule "rule 1"
when
------
then
Test t = new Test()
t.field = simpleFunction()
insert(t)
end
rule "rule 2"
when
Test()
then
.........
end
I don't understand difference Between 2 environments.
An Idea?
Thanks
Jerome
--
View this message in context:
http://drools.46999.n3.nabble.com/Difference-of-behavior-between-JBoss4-a...
Sent from the Drools: User forum mailing list archive at
Nabble.com.