Workflow variables on a batch script with CMD and Python

Hello guys,

we are trying to Passing workflow variables on a batch script using python scripts.

Unfortunately we are struggling with string we have created for 2 procedures. First procedure running workflow stored in knime-workspace, the second one killing the process after successful run according to specific process ID = PID 28056.

String look’s like this:

cmd /k"cd C:\Program Files\KNIME && knime -nosplash -reset -application org.knime.product.KNIME_BATCH_APPLICATION -workflowDir=“C:\Users\z004cuzj\knime-workspace\KNIME_project_test” -workflow.variable=activePid,taskkill /F /PID 28056,String

Do you have any experience with KNINE + Py?
All answers or ideas acceptable,
Alex D.

what’s the error message?

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