Migrated rules from using community based Drools libraries to enterprise BRMS version causes Predicate must be boolean expression ERROR
Issue
- After migrating rules from using community based
Droolslibraries to enterpriseBRMSversion causesPredicate must be boolean expressionERROR as shown below.
Predicate 'dateUtil.getYear(ruleBean.getBillDate()) >= dateUtil.getYear(ruleBean.getPayDate())' must be a Boolean expression
[Line: 30, Column: 32] : [Rule name='DefaulterPaymentRule']
How to fix these issues?
Environment
- Red Hat JBoss BRMS (BRMS)
- 5.3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
