1.3.11.56 Merge Array Attributes

The Merge Array Attributes processor merges the elements of multiple array inputs and gives the output as an array of the same length as the longest array.

The following table describes the configuration options:

Configuration Description

Inputs

  • Selected Attributes: One of more attributes to be merged of any array type (String Array, Number Array, or Date Array). The arrays being merged should be of the same type.

Options

  • Select empty elements: Determines whether or not empty elements are selected while merging arrays. Specified as Yes/No. Default value: No.

Outputs

  • ArrayMerged: This is a new array attribute generated by merging the elements of input arrays.

Output Filters

None

Example

Inputs Select empty elements Outputs

Array1: {Cambridge, , ,London}

Array2: {CB21 5dz, WR14 2SZ, , W3 2ln }

Array3: {Cambs, Worcs, London, Lincs, Wilts}

Yes

Merge Array: {Cambridge, , ,London, Wilts}

Array1: {Cambridge, , ,London }

Array2: {CB21 5dz, WR14 2SZ, , W3 2ln }

Array3: {Cambs, Worcs, London, Lincs}

No

Merge Array: {Cambridge, WR14 2SZ, London, London}