Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
============
We have a concept(for example, CustomerConcept) which contains multiple property(for example, address). We did not pass any value to address property when creating the concept but the following check always returns false:
customerConcept.address == null
Environment:
===========
TIBCO BusinessEvents All versions
Cause:
=====
The multiple check on a concept property(simple property/ContainedConcept/ConceptReference) makes the property an array.
Even if you do not add any property/ContainedConcept/ConceptReference to the multiple property, the property is an array with length 0 but not null.
Resolution:
========
For a multiple property(simple property/ContainedConcept/ConceptReference), check the length of the property(array).
Length 0 indicates there is no simple property/ContainedConcept/ConceptReference.