Array.Object data type
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- Create Workflows
Store a sequence of JavaScript objects in an array.
Basic options
Advanced options for Array variables
Option | Description |
---|---|
Hint | Provides guidance to flow or action designers on how to configure the data. |
Max rows | Specifies the maximum number of entries to display in the Workflow Studio interface. The array can store more values than it displays. |
Advanced options for Object variables
Option | Description |
---|---|
Structure | Specifies how to structure the object hierarchy. Options include:
Note: Creating the structure manually enables the Save as Template option. Starting from a template enables the Template option |
Save as Template | Stores a manually created object structure for later reuse. |
Template | Specifies the existing object structure to apply to this object. |
Note: For more information on using complex object variables, see Complex data.
Example: Create a list of contacts from a list of users
This example uses a custom action to generate a list of contacts details from users in a specific department. To create the custom action to generate an array of objects, see Create a custom action to generate an array of objects from a list of records.
In this example, the contacts array contains three users from the Development department.