What happens if a node fails in the flow? #13
Replies: 2 comments
-
Please note that this repository is intended as a learning resource for Odoo, and as stated in the README, not everything has been fully considered or thoroughly tested. With that in mind, I haven’t planned that far ahead yet. Currently, the behavior depends on how the node is implemented and what type of exception occurs. In some cases, the flow stops; in others, it simply passes an empty parameter to the next node. A flow is essentially a collection of nodes, and each node is basically a function—so the structure is similar to that of a standard program. If a node fails due to a coding error, it will consistently fail. However, if the failure is due to a specific condition, then future runs will only fail when that condition is met, regardless of what initially triggered the flow. I hope this clarifies your question. Please treat this repository as a learning example—something to read through and understand the logic behind—rather than a production-ready module. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the explanation; it makes sense. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If we're triggering the flow via a webhook, I’m curious about how the flow behaves when it hits a failed node (marked ❌ Red):
Will that specific webhook execution stop only at the failed node?
Or will it block the entire flow, including downstream paths?
If another webhook call comes in after the failed node is already known to error out, and it tries to pass through that node again — will it:
Reattempt processing?
Skip the node?
Or still fail at the same point?
Beta Was this translation helpful? Give feedback.
All reactions