Converting a List Into a Grouped List.

Converting a List Into a Grouped List.

book

Article ID: KB0093439

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:

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?

Issue/Introduction

Converting a List Into a Grouped List.

Resolution

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.

Attachments

Converting a List Into a Grouped List. get_app