FlowmageDocs

Condition

Chooses between two paths, one when your check is true, one when it is false.

Settings

SettingWhat it is
RulesRequiredMust evaluate to a real boolean — use json.x != null for existence checks, and wrap a comparison in {{ }}.
Technical details
KeyValue
expressiontextits `{{ }}` must give a boolean

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": {
    "expression": "<rules>"
  },
  "label": "Condition",
  "type": "core.condition",
  "version": 1
}