yes sorry MVEL did not have the macro processor setup for insertLogical,
I have since done this in trunk.
But you can get around this just doing drools.insertLogical.
Mark
kissro(a)lidp.com wrote:
Using the BRMS Business Rule Asset screen, I've created a new
rule:
rule "Premium Rule"
dialect "mvel"
when
Policy( premium > "50.00" && <= "500.00" )
then
Policy fact0 = new Policy();
fact0.setStatus( 13 );
insertLogical( fact0 );
end
When I try to validate or build a package for deployment, I get:
Unable to build expression for 'consequence'
Policy fact0 = new Policy(); fact0.setStatus( 13 ); insertLogical( fact0 )
Does anyone know what's wrong with my rule or why I getting the error?
Thanks,
Rod
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users