decrement by field

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.

decrement by field v10.4.28

In pins 1
  • Decr. by required
    number
Out pins 1
  • mutations
    mutations

Emits one number.decrement mutation subtracting the decrement_by pin from the selected number field. An unwired pin decrements by 0; a wired value is passed through without coercion.

A typical wiring for decrement by field: number feeds the decrement_by pin; the mutations out pin feeds update document.

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

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.
  • number: feeds into this block. Generates a valid number from the filled custom value in the blueprint.
  • search: feeds into this block. searches in the given storage based on a query.

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