← All native models

Model fields

node:assert

Assert

Checks that a condition holds. By default a failed check stops the run with your message; set softFail to continue and report the result instead. Use it to guard against bad data before later steps act on it.

object
dependentRequired
{"x":["y"],"y":["x"]}
configRequired
continueOnErrorOptional

When true, the run continues after this node fails; later nodes may then lack its output.

boolean
idRequired

Unique identifier for the node, used by edges and expressions.

string
maxRetriesOptional

How many times to retry the node if it fails.

integer
nameOptional

Display name. Defaults to the ID; expressions can also use it.

string
timeoutSecondsOptional

Most time the node may take, in seconds.

number
typeRequired
string
Value
"assert"
xOptional

Position on the editor canvas; give it with y.

number
yOptional

Position on the editor canvas; give it with x.

number

Only the fields listed here are accepted.