Skip to content

The Concat Step model

Concat defines an operation to join multiple values as one.

Join arrays as one array

{
  "name": "Create_MyList",
  "concat": [
    "${otherList}",
    [
      {
        "name": "MyNewItem"
      }
    ]
  ],
  "output": "MyList"
}

The result will be saved as MyList variable:

[
  {
    "name": "ItemFromOtherList"
  },
  {
    "name": "MyNewItem"
  }
]
Property Type Summary
name string The name of the job
concat JsonAny Any JSON value
output string The variable name to save the result
parameters ParameterModel[] Optional pipeline parameters
variables JsonObject Optional pipeline variables

Merge objects as one

{
  "name": "Create_MyObject",
  "concat": [
      {
        "name": "MyNewItem"
      },
      {
        "content": "MyContent"
      },
      "${myObject}"
    ]
  ],
  "output": "MyObject"
}

The result will be saved as MyObject variable:

{
  "name": "MyNewItem"
  "content": "MyContent",
  "some": "propertyFromMyObject"
}
Property Type Summary
name string The name of the job
concat JsonAny Any JSON value
output string The variable name to save the result
parameters ParameterModel[] Optional pipeline parameters
variables JsonObject Optional pipeline variables

Join array of strings as one

{
  "name": "Create_MyObject",
  "concat": [
      "MyNewItem ",
      "MyContent ",
      "${myString}"
    ]
  ],
  "output": "MyString"
}

The result will be saved as MyString variable:

"MyNewItem MyContent SomethingFromMyString"
Property Type Summary
name string The name of the job
concat JsonAny Any JSON value
output string The variable name to save the result
parameters ParameterModel[] Optional pipeline parameters
variables JsonObject Optional pipeline variables
Back to top