with values

This block is part of the array group and was last modified in core v12.0.6.

with values v12.0.6

Returns an array of values

In pins 2
  • value
    value

    First value to include in the array.

  • value
    value

    Second value to include in the array.

Out pins 1
  • array
    array<value>

    The resulting array containing the specified values.

Collects the wired value pins into an array, keeping only strings - numbers, booleans, objects and null are DROPPED without coercion, so the output can have fewer entries than wired pins.

of
with

A typical wiring for with values: create document feeds the value_1 pin; the array out pin feeds match with any.

Studio canvas example for the with values block: typical wiring for with values.

Commonly used with

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

  • create: feeds into this block. Creates a new function that can be executed using the given name.
  • match with any: this block feeds into it.
  • set fields: this block feeds into it. Generates an array of mutations based on the given filled fields.
  • send email: this block feeds into it. sends a single email.
  • create document: feeds into this block. Creates a document in the given storage.
  • get fields: feeds into this block. Gets the selected fields from the given object.

Version history

Introduced in v12.0.6.


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