Model fields
workflow.node:script
Scriptobject boolean string integer string number number number
Runs a Lua script, either saved in your script library or written inline. Use it for logic the other nodes do not cover.
- 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
"script"
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.