Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
===========
A code example of how to retrieve the index of the contained concept.
Environment:
===========
TIBCO BusinessEvents 5.x
All Operating Systems
Resolution:
===========
We can use Instance.PropertyArray.toArrayContainedConcept to achieve all child indexes. Example:
declare {
Concepts.ConceptA concepta;
}
when {
}
then {
ConceptB[] conceptbs = Instance.PropertyArray.toArrayContainedConcept(concepta.ConceptBs);
for( int i=0; i< conceptbs@length;i++){
Concepts.ConceptB testb = conceptbs[0];
String NewField1 = testb. NewField1;
String NewField2 = testb. NewField2;
......
}
……