August 16, 2023

Classifying the output data with aggregate element – Docs for ESB 6.x

Classifying the output data with aggregate element

  1. In your Studio, open the Job used in , and double-click
    the tXMLMap component to open its Map Editor.
  2. Right-click the customer element in the output table and
    select Remove group element from the contextual
    menu.
  3. On the top of the output table, click the wrench icon and set the value of the
    All in one property to false.
  4. Right-click the LabelState element and select
    As aggregate element from the contextual menu.
    The LabelState element tags the state information
    of each customer and the customer information will be classified according to the
    state information.

    To make the aggregate element available, ensure that the value of the
    All in one property is set to false. For further information about the All in one feature, see
    Talend Studio User Guide
    .

    use_case-txmlmap_aggregate1.png

  5. Click OK to validate the changes and close the
    Map Editor.
  6. Press Ctrl+S to save the Job and then F6 to run the Job.
use_case-txmlmap_aggregate.png

As shown above, tXMLMap outputs two separate XML flows,
each of which carries the information of one state and the customers from that state.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x