Edit fields
Adds, renames or removes fields, or sets variables
Parameters
Section titled “Parameters”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) Namevalue(string) Valuetype(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) Fromto(string) To
keepOnlySet
Keep only these fields · boolean · optional · default false
Outputs
Section titled “Outputs”main