Set Item

data · C160 · starter-package 7.0.1

Replace an item at an exact list position while leaving the input list untouched.

When to use

Replace an item at an exact list position while leaving the input list untouched.

Inputs

  • list — List: list; required; supported workflow value for list.
  • index — Index: number; required; supported workflow value for index.
  • item — Item: any; required; supported workflow value for item.

Outputs

  • List (list): deterministic result output.

Behavior and boundaries

Set Item replaces only an existing zero-based position. It never grows a list; use Insert at Index or Prepend Item to add values.

These operations do not change the original input. Unsupported, circular, invalid, or excessively large values stop the workflow with a clear message.

Example

List ["draft", "old"] with Index 1 and Item "new" produces ["draft", "new"].

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.