Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
=============
I have an Event contains information about the instances to create of Concept. For example:
event@payload="<data><Category>CatA</Category><Category>CatB</Category></data>"
From this, I want to create two Concepts - Category@CatA and Category@CatB.
Environment:
=============
TIBCO BusinessEvents 5.x
Resolution:
===========
You may achieve the requirement in the following approach:
Step 1: Use XPath.evalAsInt to get the number of Category nodes
Step 2: Create Concepts in a loop(i from 1 to count) for each Category node(Category[i])
Attached to this Solution is a simple test case for your reference.
Attachements:
=============
testCreateMultipleConceptsFromPayload.rar