---
schema_version: "1"
id: 49f2eaaae9dce3088889e31eaa2182b7a408ad8ee834337ce191ae72bb8d30ad
title: Append to Array
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/rpa-builder/latest/toolbox-variable-handling-append-to-array.md
canonical_url: https://docs.mulesoft.com/rpa-builder/latest/toolbox-variable-handling-append-to-array
source_site: docs.mulesoft.com
content_type: documentation
content_hash: b5be02684d586efecea5ad97960da26e6496e8650d02277f7516056c71eec58c
description: MuleSoft Documentation Site
release: "6.7"
latest: true
---
---
product: RPA Builder
version: 6.7
is-latest-version: true
---

# Append to Array

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Use this action step to append a value to an existing array variable.

## Properties

The Append to Array action step contains the [common properties](https://docs.mulesoft.com/rpa-builder/latest/common-properties) **Description**,
**Error Handling**, and **Name**.

## Inbound Variables

- **Array to be extended**

  The base array to extend.

- **Array to append**

  The array to append to the base array.

  Use the wizard to specify a single value, or an array of values, or to map a variable. When
  manually defining the array elements, use the comma (`,`) to separate the values. If you define
  strings that contain commas, enclose the strings with quotes (`"`). For example,
  `"Hello, this is a single value", This is another value, testValue`.

## Outbound Variables

- **New Array Count**

  Outputs the total number of elements in the base array after appending the data.

- **Appended Element Count**

  Outputs the number of elements appended to the base array.

## See Also

- [Set Array Variable](https://docs.mulesoft.com/rpa-builder/latest/toolbox-variable-handling-set-array-variable)

- [String to Array](https://docs.mulesoft.com/rpa-builder/latest/toolbox-variable-handling-string-to-array)
