Configure data source in hierarchical output example
Configure data source in hierarchical output example
When you add a nested array to the output and preserve the incoming field, the records that get created vary based on how you configure the data source for the output group.
For example, you want to extract the description information from a nested array of maintenance records in a JSON file. The description information is in an array of strings. You want the output data to also be in an array of strings.
The following sample data shows an incoming record:
, indicating that the information for the output array comes from the elements in the desc array in the Input group. By default, the Hierarchy Processor transformation sets the data source for the Output group to
Input
.
The data source configuration for the output group determines how the Hierarchy Processor transformation creates the output records.
To combine all descriptions into one output record, keep the data source for the output group as