Skip to content

Edit fields

  • Type data.set
  • Group Data
  • Role action
  • Risk reads only
  • Side effect none
  • Runs once per item

Adds, renames or removes fields, or sets variables

mode

Mode · string · required · default fields · one of fields, json, variables, state

How the step works; the fields below change with it.

fields

Fields · array · optional

Shown when mode is fields, variables, state.

Fields:

  • name (string) Name
  • value (string) Value
  • type (string) Type

stateScope

Store · string · optional · default workflow · one of workflow, node, global

Shown when mode is state.

ttlSecs

Forget after (seconds) · integer · optional · range 1 – …

Shown when mode is state.

json

JSON · string · optional

Shown when mode is json.

remove

Remove fields · array · optional

rename

Rename fields · array · optional

Fields:

  • from (string) From
  • to (string) To

keepOnlySet

Keep only these fields · boolean · optional · default false

  • main

← All nodes