Clear Array List — Reference
Remove every item while keeping the named list available.
Remove every item while keeping the named list available.
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.
Clear Array List
Section titled “Clear Array List”Remove every item while keeping the named list available.
Settings
Section titled “Settings”| Setting | Meaning |
|---|---|
| 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. |
Worked example
Section titled “Worked example”Create products with two values, then Clear products. Read Get Array List Value and Size afterward: they return [] and 0.
Check the behavior
Section titled “Check the behavior”Clear does not remove database records and does not destroy the list’s name. Subsequent Add operations can populate the same list within this request.
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.