Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | - |
Not Applicable | - |
In BusinessWorks documented way to convert a list into a grouped list.You can check the "Process Design Guide -> ChapterĀ 8 Mapping and Transforming Data : Examples of Mappings" in a web browser. In this sample, all pregrouped data contains the same elements structure. How to do when the pregrouped data contains a different element structure?
This still can be done in a similar way. The difference is:
1). There is no for-each loop on the current-group() .
2). Use current-group()[1], current-group()[2], current-group()[3]... to referĀ one of the grouped data.
Check the sample attached project (Filename: grouping.zip) activity: grouping\ParseToGroup.process\Map-Data-1.