Trying to catch a warning on KNIME web portal

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:

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

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.