Icon

Try-Catch in WebPortal

Potential workaround so that the error doesn't show up onthe webportal: use a try catch inside of the VariableExpressions Node.try { variable("x1")} catch (error) { // the variable does not exists 99} Forum Post: https://forum.knime.com/t/case-switch-flow-variable-problem/56679/8 x=0create dummyx1=1create dummyx2=2x=xix=xierror does not show up in webportal Try (VariablePorts) Catch Errors(Var Ports) CASE Switch Start CASE Switch End Variable Creator VariableExpressions VariableExpressions VariableExpressions Choose Case Page VariableExpressions Page of Case 2 Page of Case 1 Final Page Potential workaround so that the error doesn't show up onthe webportal: use a try catch inside of the VariableExpressions Node.try { variable("x1")} catch (error) { // the variable does not exists 99} Forum Post: https://forum.knime.com/t/case-switch-flow-variable-problem/56679/8 x=0create dummyx1=1create dummyx2=2x=xix=xierror does not show up in webportalTry (VariablePorts) Catch Errors(Var Ports) CASE Switch Start CASE Switch End Variable Creator VariableExpressions VariableExpressions VariableExpressions Choose Case Page VariableExpressions Page of Case 2 Page of Case 1 Final Page

Nodes

Extensions

Links