Get Array List Value — Reference
Read the current contents of an existing mutable list.
Read the current contents of an existing mutable list.
Before you begin
Section titled “Before you begin”- A Server Connect action. Create the referenced Array List earlier in the same request before using it.
Get Array List Value
Section titled “Get Array List Value”Read the current contents of an existing mutable list.
Settings
Section titled “Settings”| Setting | Meaning |
|---|---|
| Name | The step name under which this lookup result is available to later server expressions. |
| Array List | Choose a Create Array List step available above this action. The stored reference is its name; it is not a database connection or a client-side component. |
| Output | Includes this named lookup result in the action response. The result can be used by later server steps without Output. Check the saved state: several lookup actions initialize Output on although their declared default is false. |
Worked example
Section titled “Worked example”After creating products and adding a record, choose that Array List, name this step result and enable Output. Confirm that result contains every current item in order.
Check the behavior
Section titled “Check the behavior”Reading a list is different from returning the Create step, which does not return the array. Use the list mutation actions to change its contents; do not assume that editing a previously returned snapshot updates the list.
Return to the action workflow
Section titled “Return to the action workflow”Use a Get Array List Value step when you need to expose the final list after mutations. Use a database or server session when the data must persist beyond this request.
Check your result
Section titled “Check your result”You can configure this operation and verify the example’s resulting value or list.