FlowmageDocs

Set path

Changes data

Sets one field of a schema for the rest of this run.

Settings

SettingWhat it is
SchemaRequiredThe workspace schema to work on. A run works on a private copy — nothing here changes the stored schema.
PathRequiredDot-separated field names, e.g. settings.apiUrl. Missing steps are created unless you switch that off below.
ValueJSON, or one {{ }} expression — 42 stays a number, not the text of one.
Create missing stepsOff refuses a path that does not exist yet, so a typo cannot grow a branch.
Technical details
KeyValue
nametexta schema name, listed in `requires.schemas`
pathtext
valueany JSON
createMissingtrue/false, by default true

Output

What this node gives depends on the data it gets.

Sample output, and the expression for each field

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "createMissing": true,
    "name": "<schema>",
    "path": "<path>"
  },
  "label": "Set path",
  "type": "schema.setPath",
  "version": 1
}