Handle Node Failure
The On Fail feature allows users to specify how individual nodes behave in case of logic failure.
By defining On Fail behaviors, users can effectively manage workflow execution, ensuring seamless handling of node errors.
Enabling On Fail Behavior
To enable the On Fail for a node, open the Node Menu (•••) for the desired node.
Click on "Add On Fail" to append an On Fail behavior section to the node. Users can pick from three On Fail behaviors:
- Retry
- Terminate
- Custom Flow
Understanding On Fail Behaviors
Retry
This behavior allows the system to automatically attempt the node logic again within specified intervals. Users can set the maximum number of retries and determine if the workflow should continue after retry attempts.
Configuration | Purpose |
---|---|
On Fail | Retry |
Max Retries | Define the maximum number of retry attempts the backend should make. |
Interval (ms) | Set the time interval between retries (maximum: 10000ms). |
Continue after retry | Determine whether the workflow should proceed after exhausting the retry attempts. |
Terminate
This option terminates the entire workflow if the specific node fails, ensuring an immediate halt to the execution.
Configuration | Purpose |
---|---|
On Fail | Terminate |
Custom Flow
Users can create a custom sub-workflow to execute if a node fails, offering a tailored response to node failure. By editing the sub-flow, users can add nodes from the library, paste from clipboard, or generate nodes using AI.
Configuration | Purpose |
---|---|
On Fail | Custom Flow |
Custom Flow | Define a sub-workflow to execute if the node fails. |
Continue After Custom Flow | Choose whether the main workflow continues after executing the sub-workflow. |
Need Help?
- 💬Join BuildShip Community
An active and large community of no-code / low-code builders. Ask questions, share feedback, showcase your project and connect with other BuildShip enthusiasts.
- 🙋Hire a BuildShip Expert
Need personalized help to build your product fast? Browse and hire from a range of independent freelancers, agencies and builders - all well versed with BuildShip.
- 🛟Send a Support Request
Got a specific question on your workflows / project or want to report a bug? Send a us a request using the "Support" button directly from your BuildShip Dashboard.
- ⭐️Feature Request
Something missing in BuildShip for you? Share on the #FeatureRequest channel on Discord. Also browse and cast your votes on other feature requests.