min 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.

min on field v10.4.28

Returns the lowest number for the given field in the given array of objects.

In pins 1
  • Array required
    array

    The array of objects for which to find the lowest number based on the specified field.

Out pins 1
  • Number
    number

    The lowest number based on the specified field in the array of objects.

Returns the lowest numeric value of the selected field (dot path) across the object items. Non-object items, items missing the field, and non-numeric values are skipped; numeric strings coerce. Outputs 0 when no field is selected, the selected field type is not number or date, or no item yields a usable value - indistinguishable from a real minimum of 0.

lowest

A typical wiring for min on field: the number out pin feeds cast to value.

Studio canvas example for the min on field block: typical wiring for min on field.

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