Fail

Flow control
Fail
Message Pipeline failed

Description

Terminates the pipeline with an error message. Use to abort execution when a precondition isn't met.

When to use

Use Fail as the terminal node on any execution path that represents an unrecoverable error — for example, the false side of a validation Branch, or the default case of a Switch that should never be reached. The pipeline execution is marked as failed and the message is visible in the execution detail view. It has no output execution pin, so nothing runs after it.

Pins

Input pins

Pin Type Default Notes
Message string Pipeline failed The error message recorded in the execution log. Use a descriptive string so failed runs are easy to diagnose.

Execution pins

Pin Direction
In Input

Example

Abort the pipeline if an incoming request is not a POST. Wire the Method output of Receive HTTP into Equals (B set to "POST"), then connect the Result output to the Condition input of Branch. Wire the False execution output of Branch to the execution input of Fail with Message set to "Expected POST request". When a non-POST request arrives, the pipeline stops immediately and logs the configured message.

See also