Rules are not fired as expected when date object comparison is involved in LHS of business rules

Solution Unverified - Updated -

Issue

  • After our upgrade from BRMS 6.4 to Process Automation Manager(PAM) 7.9, we are noticing an issue where comparison between two java.time.LocalDate objects is not giving correct result in LHS of rules. For example

    when
      HomeLoan(soldDate not in (null, '') && convertToLocalDate(soldDate) <= java.time.LocalDate.now())
    

Environment

  • Red Hat Process Automation Manager (RHPAM)
    • 7
  • Red Hat Decision Manager (RHDM)
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content