How to write if-then-else construct in Drools?

Solution Unverified - Updated -

Issue

  • Is there any convenient way on how to write if-then-else rules in BRMS/Drools?
  • How to write if ... else ... statements in Drools DRL ?

Environment

  • Red Hat JBoss BRMS
  • Red Hat Decision Manager (RHDM)

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