merge
Task purpose
The merge task combines data from job variables, static data, and the outgoing variables of tasks to create a new variable. By merging data, you can create new data structures to match the existing parameters of a task, allowing you to reuse existing tasks without programming new ones. The merge task can combine number, boolean, string, array, and object data types.
Two assignment modes are supported:
The merge task does not support merging data with partial key assignments or non-unique keys.
Properties
Configure the task
The following examples use data returned from three tasks, which return these objects:
No keys assigned
Configure the merge task properties with no keys.



The merge task returns an array. The order is not deterministic.

Unique keys assigned
Configure the merge task properties with unique keys. In addition to the three objects above, this example includes a number, string, boolean, and array.




The merge task returns this object of specified key/value fields: