One Error in a branch will stop entire workflow stop

  1. My goal: Say I have a workfow with multi branch, some time one block of one branch has an error, and then all others brand will not run. It seem entire workflow stop at that time. I have compare the blocks run in the successful run. It indeed lack the logs of many blocks of others branch. So I think it is a bug.

  2. Issue:

  3. Steps I've taken to troubleshoot:

  4. Additional info: (Cloud or Self-hosted, Screenshots)

Hi, since that block is a code block: have you tried using a try {} / catch {} statement to catch and handle the exception?
Based on the error, you can then use a branch block to continue with a different flow. For this, you’ll need to set a property or flag that helps distinguish whether an error occurred.

1 Like

Yes, I know how to catch the error and handle it. My point is the error in one branch should not stop the run of blocks on others branch. The error should only stop the blocks after it.

@Tess Hello, Tess. Do you have a time to take a look? This problem confused me so long.

Hey there @AnsonHwang, thanks so much for waiting! Do you mind showing me how you have your workflows set up? Just want to double check that you are using a block for error handling to catch the error correctly. If possible, could you also share all the branches in the workflow?

A short video/Loom showing how it works would be super helpful! :pray: