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

# 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/6.6/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/6.6/toolbox-variable-handling-set-array-variable)

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