I have a workflow that consists of three components:
- View 1 (component): A search function.
- View 2 (component): A query based on the search results.
- View 3 (component): A message displaying a user reference ID and logging it to a database.
- View 4 (component): An error message for the user in case any of the other views fail.
I’ve noticed that the try-catch mechanism works a bit differently in KNIME. When a routine fails in views 1, 2, or 3, it properly catches the exception and displays view 4 with the error message. However, when the routine is successful, the flow also goes through the port 0 of the catch node, thus displaying the error message as well.
Do you have any ideas on how to solve this?