Array
Manipulate arrays and lists in your automation workflows with comprehensive array operations.
Overview
The Array package provides essential operations for working with arrays (lists) of data. Use it when you need to process collections of items, transform data structures, or manage lists dynamically during automation.
Key Features
- Element Access - Get, set, and remove elements by index
- Array Modification - Push, pop, shift operations
- Transformation - Sort, reverse, slice, and concatenate arrays
- Conversion - Convert between arrays and other data types
Available Nodes
- Assign - Assign a value to an array element at a specific index
- Get Element - Retrieve an element by index
- Get Length - Get the number of elements in an array
- Push - Add an element to the end of an array
- Pop - Remove and return the last element
- Shift - Remove and return the first element
- Remove Element - Remove an element at a specific index
- Slice - Extract a portion of an array
- Concatenate - Join multiple arrays together
- Reverse - Reverse the order of elements
- Sort - Sort array elements
- Convert - Convert array to/from other formats
When to Use This Package
- Data Processing: Iterate through lists of records
- Batch Operations: Collect items for batch processing
- Data Transformation: Reshape data from one format to another
- Queue Management: Implement FIFO/LIFO data structures
- Result Aggregation: Collect results from multiple operations
Common Use Cases
- Processing rows from Excel or CSV files
- Managing lists of URLs to scrape
- Collecting form field values
- Building dynamic lists during automation
- Sorting and filtering data
Assign
Robomotion.Array.Assign
Concatenate
Robomotion.Array.Concatenate
Convert
Robomotion.Array.Convert
Get Element
Robomotion.Array.GetElement
Get Length
Robomotion.Array.GetLength
Pop
Robomotion.Array.Pop
Push
Robomotion.Array.Push
Remove Element
Robomotion.Array.RemoveElement
Reverse
Robomotion.Array.Reverse
Shift
Robomotion.Array.Shift
Slice
Robomotion.Array.Slice
Sort
Robomotion.Array.Sort