Table of Contents

Search

  1. Preface
  2. Transformations
  3. Source transformation
  4. Target transformation
  5. Access Policy transformation
  6. Aggregator transformation
  7. B2B transformation
  8. Chunking transformation
  9. Cleanse transformation
  10. Data Masking transformation
  11. Data Services transformation
  12. Deduplicate transformation
  13. Expression transformation
  14. Filter transformation
  15. Hierarchy Builder transformation
  16. Hierarchy Parser transformation
  17. Hierarchy Processor transformation
  18. Input transformation
  19. Java transformation
  20. Java transformation API reference
  21. Joiner transformation
  22. Labeler transformation
  23. Lookup transformation
  24. Machine Learning transformation
  25. Mapplet transformation
  26. Normalizer transformation
  27. Output transformation
  28. Parse transformation
  29. Python transformation
  30. Rank transformation
  31. Router transformation
  32. Rule Specification transformation
  33. Sequence transformation
  34. Sorter transformation
  35. SQL transformation
  36. Structure Parser transformation
  37. Transaction Control transformation
  38. Union transformation
  39. Vector Embedding transformation
  40. Velocity transformation
  41. Verifier transformation
  42. Web Services transformation

Transformations

Transformations

Step 4. Create an output struct for the order address

Step 4. Create an output struct for the order address

Create a structure for the order address in the output and remove fields from the output that you do not need.
Perform the following steps:
  1. Add a new output field with the following properties:
    Property
    Value
    Child Of
    Output.Orders.Orders
    Name
    OrderAddress
    Type
    struct
    Struct Name
    Address
  2. Add all the incoming fields from Orders to OrderAddress. Set
    Add
    to
    Add primitive single occurring children
    .
  3. Set the data source for OrderAddress to
    Use Output
    .
  4. Delete the following fields from the OrderAddress struct that you do not need:
    • Output.Orders.Orders.OrderAddress.OrderPrice
    • Output.Orders.Orders.OrderAddress.OrderDate
  5. Delete the following fields from the Orders output group that you do not need:
    • Output.Orders.Orders.Street
    • Output.Orders.Orders.City
    • Output.Orders.Orders.State
    • Output.Orders.Orders.Country
    • Output.Orders.Orders.ZipCode
The following image shows the OrderAddress struct: The Hierarchy Processor transformation output fields shows the final hierarchical structure of the output. The OrderAddress struct is highlighted, where OrderAddress is a struct that contains the string values Street, City, State, Country, and ZipCode.

0 COMMENTS

We’d like to hear from you!