I am trying to use mvel for RHS but Drools gives me BuildError : Unable to
build expression for 'consequence' : null 'i = Util.test();'
The error goes away when I remove the "dialect 'mvel'" line, so the error
must have something to do with using mvel. I think I am missing something
here, but the documentation on MVEL in Drools is really scanty.
Code:
import java.util.*;
import a.b.Util;
rule "Test"
dialect "mvel"
when
eval(true)
then
Util.test();
end
--
View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Using-mvel-in-RHS-with-Java-code-tp922926p922926.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users