Trying to catch a warning on KNIME web portal

#1

Hello there I have a KNIME workflow that executes an API GET call to get some data, but sometimes the data is not there. When this happens, webportal reports: “Workflow did not fully execute”. I am trying to give the user a more descriptive error as to why the workflow did not fully executed.

Basically I am trying to catch the warning and give feedback. But since a warning is not an error I don’t see how to do this:

This is what I see in webportal:

0 Likes

New User - how to add column to data set
#2

Hi @josequirozramos1,

did you tried the Try / Catch nodes with active branch inverter? The end node can also be configured to always populate the error variable which catches the information.

The active branch inverter is required to trigger the fallback action, i.e. sending an email with the error.

Cheers
Mike

2 Likes