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-and-JBoss5-wen-I-call-a-function-in-drl-file-tp4024137.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users