Table of Contents

Search

  1. Preface
  2. PowerCenter Mappings and Workflows
  3. B2B Data Exchange Transformations
  4. B2B Data Exchange Workflows
  5. Dashboard and Reports
  6. Creating Workflows for Event Reconciliation
  7. Forms Designer
  8. Configuring Email for Monitor Notification
  9. Dashboard and Reports
  10. B2B Data Exchange Web Services API
  11. B2B Data Exchange Run-time Java API
  12. B2B Data Exchange Forms Designer Java API

DX_Aggregate Transformation

DX_Aggregate Transformation

The DX_Aggregate active transformation groups segments of data to process.
You can use the transformation to aggregate row sets that you previously split back into a single document
You set the DXParentEventId and the DXGroupByKey ports to sort the data that you want to aggregate.
The DX_Aggregate transformation groups rows in the following manner:
  1. When the transformation reads the first row in the group, it creates a temporary file and writes the content of the DXData port to the file.
  2. On each subsequent row, the transformation appends the DXDelimiter and the content of the DXData port to the file. It then increments the number of rows in the DXRowCount port.
  3. When the transformation reads the last row in the group, it closes the temporary file and increments the number of groups in the DXGroupSequence port. It then passes the output to the pipeline.
  4. If you use a pass-through port, the transformation sends the value from the last row of the group to the pipeline.
If a row contains an error or a null value in the DXData port, the transformation drops the row from the file and does not pass the output to the pipeline.
The DX_Aggregate transformation determines the end of the group in the following cases:
  • There is no more data to aggregate.
  • The value of the DXParentEventID port differs from the value in the previous row.
  • The value of the DXGroupByKey port differs from the value in the previous row.
  • The row count for the group reached the value that you define in the DXMaxRowsInGroup port.
  • The value of the DXLastInGroup port is true.

0 COMMENTS

We’d like to hear from you!