Running Total

logic · C321 · starter-package 7.0.1

Purpose

Convert a numeric list into its cumulative totals. The object is stateless: it never carries a previous workflow run into the next run.

Connectors

  • Values: dense list of up to 4096 finite numbers.
  • Totals: list with the same length.

Example

[2, 3, -1] returns [2, 5, 4].

Failure cases

Sparse, oversized, non-numeric, NaN, infinite, or cumulative-overflowing values stop execution.

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.

Connector data types

The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.

DirectionConnectorTypeRequired
Inputvalues — Valueslistyes
Outputresult — Totalsliston success