How to Programmatically Open a workflow in Knime AP

Hello,
I would like to develop a knime node ( or to find a knime node that already does that ) that opens a workflow in Knime AP.

Can someone tell me if there is an API function that would help me? Is there any tutorial in particular I could follow ?

Best regards,
Sébastien

Hi @sebversailles,

Welcome to the KNIME community, what is your usecase for such a functionality?
In general, executing a node is not supposed to have an effect on the KNIME workbench, as workflows could also be executing without a workbench, e.g. on the KNIME server or on the CLI.

best,
Gabriel

Hello,

When using “call local workflow”, the workflow is opened “in the background”. And when the workflow finishes, or more importantly when it fails, the data in it is not saved.

It looks like if we want to inspect the workflow data when it has failed, we need to manually open the workflow in the workbench between the moment the workflow is launched, and the moment the workflow finishes/fails.
We would like to automate this “manual workflow opening”.

Best regards,
Sébastien