- In rules we have often the following condition statement:
fact.subfact.attribute = ''MyValue''
- As subfact and attribute are objects they potentially could be
NULL, a check is required to avoid
- Are these conditions added during generation by default or do we have to add them in the rule definition, like
fact.subfact != null, fact.subfact.attribute != null, fact.subfact.attribute = ''MyValue''
- JBoss Business Rules Management System (BRMS) 5.3.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.