concat (array)
  • 20 Dec 2023
  • Dark
    Light
  • PDF

concat (array)

  • Dark
    Light
  • PDF

Article summary

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

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


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.