HI,
Ok .. I did some tweaking and was able to get 1 simple rule to compile:
I think I just need to go over the drl and do some manipulations like:
1. Changed .drl ifles to .dslr
2. Did some rule syntax changes like:
[when]Coverage information exists=coverageTO : CoverageTO() à
[condition][]Coverage exist= coverageTO : CoverageTO()
How do I write something like this in drools 5:
[when]myCondition=eval((coverageTO.getAmount()==null ||
coverageTO.getDeductible().length() <=0) && coverageTO.getOther().length()<=0)
Thanks for all the help;
saleem
From: [email protected]
[mailto:[email protected]] On Behalf Of Mauricio Salatino
Sent: Friday, February 11, 2011 3:52 PM
To: Rules Users List
Subject: Re: [rules-users] Upgrading from Drools 2 to 5
What kind of errors are you getting?
Can you share with us that information?
2011/2/11 Saleem Lakhani <[email protected]>
Hi,
I need some help regarding upgrading our validation engine from 2.0 to 5.0, I
have added the required jars and my java code is compiling but the DRL and DSL
are not. Any suggestions?
Thanks,
saleem
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users
--
- CTO @ http://www.plugtree.com
- MyJourney @ http://salaboy.wordpress.com
- Co-Founder @ http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users