Hello,
I am currently developing a batch script for running my workflow and would simply like to have the KNIME exit code printed to the user. My thought for this portion is (in pseudo code):
if %exitCode% == 0 (
echo 0 - successful execution
)
if %exitCode% == 2 (
echo 2 - parameters are wrong or missing
)
if %exitCode% == 3 (
echo 3 - error during loading a workflow
)
if %exitCode% == 4 (
echo 4 - error during executing a workflow
)
My question is how can I access the actual number returned by the KNIME batch application? Is there something similar to the batch application “ERRORLEVEL” that I can set the variable “exitCode” to?
Best,
Cullen