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, tools, and much more.