Execute KNIME Workflow using KNIMEPY

Hi guys!

I’m trying to run a KNIME workflow using KNIMEPY python toolkit. The workflow is a relatively simple one where it takes values from table and produces an excel file. Tested via KNIME, it’s working fine. When I run it using VS Code, it seems like the workflow is loaded but doesn’t execute properly. No error is shown too.

Following is my code and workflow screenshot.

import knime

knime.executable_path = r"C:\Program Files\KNIME\knime.exe"
workspace= r"C:\Users\knime-workspace"
workflow= r"C:\Users\knime-workspace\Self-Testing\KNIME_testing"

with knime.Workflow(workflow_path=workflow,workspace_path=workspace) as wf:

It would be great if someone could point me a solution.

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