How to write a rule which constrains Collection property size in BRMS Guided Rule Editor

Solution Unverified - Updated -

Issue

  • When a fact has a Collection property, Guided Rule Editor offers "contains/excludes/equal to/not equal to/is null/is not null" but not size related operators.
    undefined
    so I cannot construct DRL like
Company(empList.size() > 5)

Environment

  • Red Hat JBoss BRMS
    • 5.3.1

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