Accumulation to List¶
Converts an Accumulation object into a plain list. If the input is a valid accumulation (a structure containing an 'accum' array), the node returns that array; otherwise it returns an empty list. Useful for exiting the accumulation workflow into standard list processing.

Usage¶
Use this after building up values with Accumulate or related accumulation nodes when you need a standard list for downstream list utilities, iteration, or display.
Inputs¶
| Field | Required | Type | Description | Example |
|---|---|---|---|---|
| accumulation | True | ACCUMULATION | The accumulation object to convert. Must be an accumulation structure with an internal list of values. | {'accum': ['a', 'b', 'c']} |
Outputs¶
| Field | Type | Description | Example |
|---|---|---|---|
| accumulated_list | * | The plain list extracted from the accumulation. Returns an empty list if the input is not a valid accumulation. | ['a', 'b', 'c'] |
Important Notes¶
- Input format: Expects an accumulation object; typically a structure like {"accum": [...]}
- Fallback behavior: If the input is missing or malformed, the node returns an empty list instead of failing.
- Output type: The output is a standard list whose element type matches whatever was accumulated.
- Not a list-output flag: Although it returns a list, the node’s output is a single value that is itself a list (i.e., not a multi-output stream).
Troubleshooting¶
- Got an empty list unexpectedly: Ensure the input is a valid accumulation object and that items were actually added (for example using Accumulate).
- Downstream node rejects the output: Confirm the downstream node accepts a list of the element type you accumulated.
- Type confusion with nested lists: If you accumulated lists themselves, the output will be a list of lists; verify this matches the downstream expectations.