How to write coalesce function in JBoss BRMS 6 DRL files?

Solution Verified - Updated -

Issue

  • How to write COALESCE function in drools drl file?
  • We have a scenario where we might send two or more number of attributes to a function in a drools DRL file and it should return first non-null value back;

Environment

  • Red Hat JBoss BRMS (BRMS) 6

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