LeeSykes
LeeSykes7mo ago

LeeSykes - Does anyone have an example of using...

Does anyone have an example of using the "On Fail" feature for a node with a custom flow? I have an openAi text generator, when it fails I want to use Anthropic. - or vice versa. At the moment I'm getting undefined being returned from the custom flow - Or is there a better way to setup a fallover mechanism for Ai? Thanks!
Solution:
Hi @LeeSykes, sent you the email for the fix. The new workflow should work fine. Pasting resolved the issue.
Jump to solution
4 Replies
Gaurav Chadha
Gaurav Chadha7mo ago
Hi @LeeSykes, you can refer to this examples here - https://docs.buildship.com/features/node-failure. for OnFail with custom flow. You also can share your workflow via support mentioning the error.
LeeSykes
LeeSykes7mo ago
Thanks appreciate it, tested the link, but it doesn't continue to the end of the workflow after doing the OnFail workflow, I've sent into support a video and copy of the workflow, thanks!
Solution
Gaurav Chadha
Gaurav Chadha7mo ago
Hi @LeeSykes, sent you the email for the fix. The new workflow should work fine. Pasting resolved the issue.
LeeSykes
LeeSykes7mo ago
awesome thank you!!