object from mutations

This block is part of the object group and was last modified in core v10.4.28.

object from mutations v10.4.28

Builds a new object filled with the given mutations.

In pins 1
  • Mutations required
    mutations

    Mutations to build new object from.

Out pins 1
  • Output
    object

Applies the mutations array to a NEW empty object and outputs the result: set.field writes values (dotted keys nest), array.* mutations build arrays from nothing, number.increment/decrement start from 0. Mutations without a key are ignored. Nothing else is read or modified.

A typical wiring for object from mutations: multiple feeds the mutations pin; the object out pin feeds set custom field.

Studio canvas example for the object from mutations block: typical wiring for object from mutations.

Commonly used with

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

  • multiple: feeds into this block. combine multiple mutations into one.
  • set custom field: wired in both directions with this block.
  • execute: this block feeds into it. Executes the given funcion and waits for it to be executed.
  • add to custom array: this block feeds into it. push any given type to the array.
  • Request: POST json: this block feeds into it. Performs an HTTP POST request to create or submit data to the specified URL with a JSON body.

Version history

Introduced in v10.4.28.


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