- 18 Oct 2024
-
DarkLight
-
PDF
concat (array)
- Updated on 18 Oct 2024
-
DarkLight
-
PDF
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
Figure 2: array
Reference Variable
Once the task runs, the new combinedArray
will be ["a", "b", "c", "d", "e", "f"].
Figure 3: Operations Manager
Related Information
For more related information on the concat (array) task, see the concat (array) API reference.