Model fields
workflow.node:condition
Conditionobject boolean string integer string number number number
Tests a condition and continues down the true or false branch. Use it for a simple either/or decision; use switch for more than two outcomes.
- dependentRequired
{"x":["y"],"y":["x"]}
configRequiredcontinueOnErrorOptionalWhen true, the run continues after this node fails; later nodes may then lack its output.
idRequiredUnique identifier for the node, used by edges and expressions.
maxRetriesOptionalHow many times to retry the node if it fails.
nameOptionalDisplay name. Defaults to the ID; expressions can also use it.
timeoutSecondsOptionalMost time the node may take, in seconds.
typeRequiredstring
- Value
"condition"
xOptionalPosition on the editor canvas; give it with y.
yOptionalPosition on the editor canvas; give it with x.
Only the fields listed here are accepted.