Stop the execution of the entire flow immediately, either successfully or with an error
The Abort Flow Block is used to stop the execution of the entire flow immediately. It can either “successfully” abort the flow (early-exit), or “error” abort the flow. This block is useful for stopping the flow under certain conditions or for handling errors.
The message to abort the graph with. If provided as a string when error aborting, this will be used as the error message.
Whether to successfully abort the graph (early-exit), or error abort the graph. Only available when “Use Successfully Input” is enabled in settings.
This block does not have any outputs.
Whether to successfully abort the graph (early-exit), or error abort the graph. Can be overridden by the “successfully” input if “Use Successfully Input” is enabled.
When enabled, adds a “successfully” input port that can override the “Successfully Abort” setting.
The error message to use when error aborting (when not successfully aborting). Only used if no message is provided via the data input.
data
input of the Abort Flow block.data
input of the Abort Flow block.The Abort Flow Block does not produce any errors itself. However, it causes the entire flow to stop executing when it is processed, either successfully or with an error.
When error aborting, the error message is determined in this order:
data
input, if providedBe cautious when using this block, as it will immediately stop the execution of your entire flow.
What happens if I connect a non-string value to the `data` input?
When error aborting, non-string values will be ignored for the error message. The block will fall back to using the configured “Error Message” setting or the default error message.
What happens if I connect a block to the `successfully` input but 'Use Successfully Input' is disabled?
The successfully
input port won’t be available and the block will use the “Successfully Abort” setting value instead.
What happens if I don't connect anything to the `data` input or leave the 'Error Message' setting empty?
When error aborting, the flow will be aborted with the default error message “Graph aborted with error”.
Stop the execution of the entire flow immediately, either successfully or with an error
The Abort Flow Block is used to stop the execution of the entire flow immediately. It can either “successfully” abort the flow (early-exit), or “error” abort the flow. This block is useful for stopping the flow under certain conditions or for handling errors.
The message to abort the graph with. If provided as a string when error aborting, this will be used as the error message.
Whether to successfully abort the graph (early-exit), or error abort the graph. Only available when “Use Successfully Input” is enabled in settings.
This block does not have any outputs.
Whether to successfully abort the graph (early-exit), or error abort the graph. Can be overridden by the “successfully” input if “Use Successfully Input” is enabled.
When enabled, adds a “successfully” input port that can override the “Successfully Abort” setting.
The error message to use when error aborting (when not successfully aborting). Only used if no message is provided via the data input.
data
input of the Abort Flow block.data
input of the Abort Flow block.The Abort Flow Block does not produce any errors itself. However, it causes the entire flow to stop executing when it is processed, either successfully or with an error.
When error aborting, the error message is determined in this order:
data
input, if providedBe cautious when using this block, as it will immediately stop the execution of your entire flow.
What happens if I connect a non-string value to the `data` input?
When error aborting, non-string values will be ignored for the error message. The block will fall back to using the configured “Error Message” setting or the default error message.
What happens if I connect a block to the `successfully` input but 'Use Successfully Input' is disabled?
The successfully
input port won’t be available and the block will use the “Successfully Abort” setting value instead.
What happens if I don't connect anything to the `data` input or leave the 'Error Message' setting empty?
When error aborting, the flow will be aborted with the default error message “Graph aborted with error”.