[rules-users] Test Scenario and function problem in Guvnor

Eddy Hautot eddyhautot at gmail.com
Tue Mar 15 05:40:12 EDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110315/3914801f/attachment.html 


More information about the rules-users mailing list