find by field exists

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.

find by field exists v10.4.28

Returns the matching objects of they include the given field.

In pins 1
  • array required
    array

    The array where the items are searched in, has to be an array with objects.

Out pins 2
  • results
    array

    The array of results where the given field exists.

  • indexes
    array

    The original positions in the input array of each matched item.

KEEPS the object items on which the selected field path is present (a field explicitly set to null still counts as present), outputting them on array and their original positions on array_indexes. Items that are not objects are always dropped. With no field selected both outputs are empty.

where key exists

A typical wiring for find by field exists: search feeds the array pin; the array out pin feeds select field values.

Studio canvas example for the find by field exists block: typical wiring for find by field exists.

Commonly used with

In production blueprints, this block is most often wired together with:

  • select field values: this block feeds into it. returns an array with values of the given field in this array of objects.
  • search: feeds into this block. searches in the given storage based on a query.

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