Store a sequence of alphanumeric text values 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 String variables

Option Description
Max length Specifies the maximum length a string value can have when entered from the user interface. The variable can store longer strings than it can display.
Hint Provides guidance to flow or action designers on how to configure the data.
Default value Specifies the value used when a flow or action designer does not provide a value.

Example: Create a list of users who have a user role

Execution details of a custom action that generates user names who have a specific role.

This example uses a custom action to generate a list of users who have a specific user role. To create the custom action to generate an array of strings, see Create a custom action to generate an array of strings from a list of records.

In this example, the users array contains three users who have the admin role.
{
    "users": [
        "System Administrator",
        "Rob Phillips",
        "Fred Luddy"
    ]
}