concat (array)

Prev Next

Task Purpose

The concatArray task is used to combine the elements of one array with another. The array that returns will contain copies of all the elements combined from the original two arrays. Essentially, this task does not change the original arrays, but returns a new array, containing the values of the joined arrays.

Potential Use Case

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

Task Properties

Input and output parameters are shown below.

Incoming Type Required Description
arr Array Yes The first array to concatenate.
arrayN Array Yes The array to concatenate into a new array.

Outgoing Type Description
combinedArray Array A new array, representing the joined array.

How to Configure the Task

In this example, the arr Reference variable is given as ["a", "b", "c"] and the arrayN Reference variable is ["d", "e", "f"].

Figure 1: arr Reference Variable
concatArray-23.1-ex01


Figure 2: array Reference Variable
concatArray-23.1-ex02


Once the task runs, the new combinedArray will be ["a", "b", "c", "d", "e", "f"].

Figure 3: Operations Manager
concatArray-23.1-ex03

Related Information

For more related information on the concat (array) task, see the concat (array) API reference.