Clear a regular list or ordinary record without changing the original value.
When to use
Clear a regular list or ordinary record without changing the original value.
Inputs
collection— Collection:any; required; supported workflow value forcollection.
Outputs
- Empty Collection (
any): deterministicresultoutput.
Behavior and boundaries
Lists become [] and ordinary records become {}. Scalars and structured values such as DateTime are not collections and fail instead of losing their type.
These operations do not change the original input. Unsupported, circular, invalid, or excessively large values stop the workflow with a clear message.
Example
Collection {"a":1,"b":2} produces {}; Collection [1,2] produces [].
Failure cases
Execution stops with an actionable Nodestly error when a required connector is missing, a value has the wrong type or shape, a configured index/mode is unsupported, or the result would exceed collection limits.
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.
