Execution stops completely for all items, when there is an error in one item

During execution, suppose there are 5 items to process in that execution.

If one of the item yields an error, it will cease operation for all these rest of the items. Should it make more sense for the rest of the items to proceed, and the 1 item that has error, to lose out?

Hey @calvintwr!

Welcome to the community :sparkling_heart:

There is an option in the Settings tab of the node called Continue on Fail. You can toggle this to true. This will execute the workflow for all the items, even if one of the items give an error.

Hi Harshil! Thanks for the quick reply! :grin:

I see that but it allows the item that failed to continue on as well. Which would not be possible if let’s say the next node depends on the outputs of the node what is faced with some failure.

I believe commercial solutions out there like integromat will treat each item discreetly, and hence, which ever item that failed, doesn’t continue, while other items continue normally.

Seems like n8n will simply not have this function I guess? My concern is with one of those 404 or occassional 500 returns from an app, which is not uncommon and throws everything else unnecessarily off.

In that scenario you will have to set Continue on Fail to true for the other nodes as well. The other way is to use the IF node and check if there is any error.

1 Like

Continue on error will for the most nodes right now continue the workflow execution but will still not process any of the remaining items of the node that did fail. The reason is, that most nodes do not implement this functionality correctly. We are currently in the process of fixing this.

You can find the currently open PR which fixes this here: