Utility Actions
Array Actions
Array Actions enable you to manipulate and manage array data.
Compare Arrays
Compare two arrays and determine if they are equal.
Parameter | Description |
---|---|
First Array | The first array to compare with the Second Array . Value must be a valid array or a comma-separated list. |
Second Array | The second array to compare with the First Array . Value must be a valid array or a comma-separated list. |
Ignore Order | When checked, arrays will be considered equal even if elements appear in a different order. |
Loose Typing | When checked, enables type coercion during comparison (e.g., number 12 equals string "12" , boolean true equals string "true" ). |
Concat Arrays
Combine two arrays into a single array containing all elements from both.
Parameter | Description |
---|---|
First Array | The initial array whose elements will appear at the beginning of the result. Value must be a valid array or a comma separated list. |
Second Array | The array whose elements will be appended after the first array. Value must be a valid array or a comma separated list. |
Remove Duplicates | When checked, repeated values in the final combined array are removed. |
Extract Field From Array
Extract a specific field from each item in an array and get the values as a new array.
Parameter | Description |
---|---|
Array | The array from which to extract the specified field. Value must be a valid array or a comma-separated list. |
Field Path | The name or path of the field to extract from each array item.
[{"userId": "user123","details": {"id": "id123"}},{"userId": "user789","details": {"id": "id789"}}]
|
Skip Missing | When checked, records with missing fields will be excluded from the result. When unchecked, records with missing fields will be included with null values. |
Remove Duplicates | When checked, repeated values in the final array are removed. |
Filter Array
Filter array elements using a Filter Function
.
Parameter | Description |
---|---|
Array | The array to be filtered. Value must be a valid array or a comma-separated list. |
Filter Function | A Python function that determines which elements to keep in the array. The Filter Function is executed individually for each element in the input Array . For every element, the function should:
For example: def even(n): return n % 2 == 0 |
Get Item From Array
Get a single item from an array at the specified index position.
Parameter | Description |
---|---|
Array | The array from which to retrieve an element. Value must be a valid array or a comma-separated list. |
Index | The position of the item to get. The first item has an index of 0 . |
Slice Array
Slice elements from an array between Start Index
and End Index
.
The new array will contain elements from the source array beginning at Start Index
(inclusive) up to but not including End Index
(exclusive).
Parameter | Description |
---|---|
Array | The array to slice elements from. Value must be a valid array or a comma-separated list. |
Start Index | The index of the first element to include in the slice.
|
End Index | The index of the element after the last element to include in the slice.
|
Sort Array
Sort array elements of the same type in ascending or descending order.
Parameter | Description |
---|---|
Array | The array to be sorted. Value must be a valid array or a comma-separated list. |
Order | Select the sorting direction for the array. |
Comparison Function | A Python function used to extract a comparison key from each element. Used for sorting complex or mixed-type arrays. This function must return a comparable value. For example: def myFunc(item): return item[‘property’] |
Was this page helpful?