concatArray

The concatArray task combines the elements of one array with another. The returned array contains copies of all elements from both original arrays. This task does not change the original arrays — it returns a new combined array.

Potential use case

If you have two datasets and want to combine them into one, use concatArray. The task copies object references into the new array.

Properties

IncomingTypeRequiredDescription
arrArrayYesThe first array to concatenate.
arrayNArrayYesThe array to concatenate with arr.
OutgoingTypeDescription
combinedArrayArrayA new array containing the joined elements of both input arrays.

Example

In this example, arr is ["a", "b", "c"] and arrayN is ["d", "e", "f"].

arr reference variable set to [a, b, c]
arrayN reference variable set to [d, e, f]

Once the task runs, the resulting combinedArray is ["a", "b", "c", "d", "e", "f"].

Operations Manager showing combinedArray output as [a, b, c, d, e, f]

See the concat (array) API reference.