remove from array

This block is part of the mutations 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.

remove from array v10.4.28

In pins 4
  • Value required
    value
  • Number required
    number
  • Date required
    date
  • Object required
    object
Out pins 1
  • mutations
    mutations

Emits one array.remove mutation deleting the given value from the selected array field. The value comes from the typed pins (when several are wired, the later one wins; dates become unix timestamps); with nothing wired the removal value is null.

A typical wiring for remove from array: remove document feeds the value pin; the mutations out pin feeds update document.

Studio canvas example for the remove from array block: typical wiring for remove from array.

Commonly used with

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

  • update document: this block feeds into it. Update document in the given storage and creates a revision for it.
  • multiple: this block feeds into it. combine multiple mutations into one.
  • remove document: feeds into this block. Removes the given document from the given storage.
  • get fields: feeds into this block. Gets the selected fields from the given object.
  • create: feeds into this block. Creates a new function that can be executed using the given name.
  • get guid: feeds into this block. Returns the guid (field: _meta.guid) of the given user.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v10.4.28.


Back to mutations Return to the main group to view all sub-groups Back to mutations Return to the group to view all blocks within this group