Flow Basics
Error Shield
This document explains the Error Shield node, which acts as a safety net to catch and handle errors in your workflow.
Node Inputs
Required Fields
- Wrapped Node/Subflow: The node or subflow you want to protect from errors
Optional Fields
- Pass Inputs Through: When enabled, makes original inputs available even if an error occurs
Node Outputs
- Is Errored: True if an error occurred, false otherwise
- Original Inputs: Available when Pass Inputs Through is enabled
Node Functionality
The Error Shield node acts like a try-catch block in programming. It:
- Catches errors from wrapped nodes/flows
- Prevents workflow crashes
- Optionally preserves input data
Loop Mode Protection
When used with loop mode:
- Continuous Processing:
- Errors in one iteration won’t stop the entire loop
- Bad data is skipped, good data continues processing
- Subflow Protection:
Step-by-Step Usage
- Drag Error Shield onto canvas
- Place target node/flow inside
- Enable Pass Inputs Through if needed
- Connect error handling path
- Connect success path
Additional Information
In summary, the Error Shield node is your workflow’s safety net, especially powerful in loops and subflows where it prevents single errors from stopping entire processes.