[rules-users] Unable to build expression for 'consequence'
    kissro at lidp.com 
    kissro at lidp.com
       
    Fri Sep 21 10:16:12 EDT 2007
    
    
  
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
    
    
More information about the rules-users
mailing list