Skip to main content
Set Array Action

An action that changes the values in an array variable.

Updated over a week ago

Overview

Set Array actions dynamically alter the items in an array variable. Set Array actions can add new items to an array, remove items from an array, or sort array items.


Action Properties

Variable

Select the array variable that the action will update.

Action

Set the action to apply to the array:

  • Append Item: Adds an array item to the last position in the array.

  • Insert Item: Adds an array item to a selected index in the array.

  • Replace Item: Replaces an array item at a selected index with a new array item.

  • Remove Item: Removes an array item at a selected index.

  • Remove All Items: Removes all items in the array.

  • Sort Items: Sorts array items in alphabetical or numerical order.

  • Sort By Descending: Sorts array items in descending alphabetical or numerical order.

  • Shuffle Items: Shuffles the array items into random positions within the array.

  • Reverse Items: Reverses the order of array items.

Value

Set the new array item value, if applicable. (for Append Item, Insert Item, and Replace Item actions only)

Index

Select the action's index value, if applicable. (for Insert Item, Replace Item, and Remove Item actions only)


Resources

Projects

Videos

Tutorials

Did this answer your question?