Hi @armingrudd,
we found a solution to execute the workflow in two steps (create job, then execute).
First you need to create the job by using
:jobs?timeout=-1
instead of
:execution
Now for executing and parameterization we can use:
http://hostname:port/knime/rest/v4/jobs/{job-id}
For this call you can specify the parameters in the request body like this:
{
“json-input” : {“param”: “value”}
}
“json-input” refers to the parameter name of the Container Input (JSON) node and might be different in your case.
Anas workflow shows how to do this two step approach with a KNIME Workflow:
create_job_and_execute.knwf (24.4 KB)
If you want to do it with an external tool, you need to take the same steps as described. You might need to wait a little bit between each call because you can’t execute the workflow if it has not been successfully loaded.
Best,
Julian