sum on field
This block is part of the array group and was last modified in core v10.4.28.
Field Selection Required
This block relies on a field that you select to perform its data actions. You must manually select the field you want to use in your flow using the field selector modal. To access the modal, click the white button on the block.
sum on field v10.4.28 Returns the total sum of the given field within the array of objects.
- Array required
arrayThe array of objects for which to calculate the sum.
- Number
numberSum of the field chosen.
Returns the sum of the selected field (dot path) across the object items; a missing or non-numeric field value adds 0, numeric strings coerce, and non-object items are skipped. Outputs 0 when no field is selected or the input is not an array - indistinguishable from a real sum of 0.
total |
A typical wiring for sum on field: the number out pin feeds cast to value.

Version history
Introduced in v10.4.28.
Back to
array Return to the main group to view all sub-groups Back to array Return to the group to view all blocks within this group
