Hi,

I have in my package 4 Pojo and i can create rules with them. if i do a validate, it's ok.

But if i add a new function, even a simple one, i have compilation error, it says it cannot compile because the function cannot resolve the class of the pojo. All is well in the import in the package. When i remove the function all is ok.

Second question i have rules but in the "then" clause, i will have query in db, call to method through beans.. How can i do to be able to use the test scenario only to test the when clause and not executing the then clause?

Is it possible the Validate function, validate only the when clause and not the then clause?

Thanks