Fail run
Ends the whole run as failed, with a reason. Every other path stops and child runs are cancelled. Use it when something is wrong enough that the rest shouldn't happen.
Kind
control:failRunGroupStops
Credits0.1 credits
Ports outNone
How it looks
Settings
| Setting | Required | What it does |
|---|---|---|
| Reasonreason | No | Shown in the run history and in failure alerts, like "No reading from the soil sensor for an hour". |
Ports
None. The path ends here, so nothing can be connected after it.
Problems you might see
| Code | Means |
|---|---|
FAIL_RUN | The code the run fails with, so you can tell it from an accident. |
Problems found when you publish stop the publish and point at the node. Problems while a run is going fail the node, and its On failure setting decides what happens next. See the error codes for the API's own.
See also
Ends this path as done, optionally handing a value back to the run that started it.
Outnone, it ends this pathcontrol:endChecks a condition, or several joined with and or or, and leaves by true or false.
Outtruefalsecontrol:logicWaits for paths to arrive: all of them, the first one, or a number you set.
Outdefaultcontrol:join