[rules-users] Sir, Seekin your's Help on Drool

Vincent LEGENDRE vincent.legendre at eurodecision.com
Wed Apr 18 09:05:43 EDT 2012


You said that you will stick to the norms here but you do the opposite in your post : Where are the rules ?

As far I can guess from all you wrote so far, the errors you have are all easily fixable by reading the very basis of drools doc, like what is a field constraint, how to specify it and how it is transformed (this will explain why your "maturityAge(pp) > "$1"" has no chance to work).

The errors "mismatched input" or "cannot find ..." are basic errors that are theorically fixed as soon as you have the DRL under your eyes...

If you have read the doc, you know that a decision table is a way to write rules templates, and it finally generates some DRL (the only executable format for drools). Decision table design and debug cannot be done without a close analysis of produced drl code. The consequence of that is "if you can't write a simple DRL that do the job, you won't be able to do the same with a decision table".

So, start by getting the generated DRL, fix it, then go back to your decision table and fix it accordingly.




More information about the rules-users mailing list