in my workflow i trigger a second workflow via the KNIME Rest Api. However, if something goes wrong, the job disappears from the KNIME Explorer and cannot be opened via the Remote Workflow Editor. I can then no longer investigate where the problem lies in the workflow. How do I prevent the job from disappearing from the KNIME Explorer?
Hey, Ana,
thanks for your help, but i use the “post-request node” to trigger the start of the second workflow. Are there similar options for this? At least I didn’t find anything under Preferences.
Hi Ana,
the main reason I want to stick to the post-request node is that I can set a timeout inside the node and leave the checkbox "Fail on Connection Problems("timeout etc…) empty. The user, who has logged into the web portal, and started the first Workflow receives the message that the workflow has ended successfully.
The second workflow starts in the background, which the user does not notices. This workflow simply performs a Get-request every 2min, until a specific event is triggered. Afterwards, the user will be notified via the send-email node.
The problem here is that every time exactly after 10min the workflow automatically discards itself.
So i looked in the server config but the relevant Parameter were set to:
What endpoint are you using? If you are using the POST request to execute a workflow, according to the documentation of the endpoint itself (that you can find in the KNIME Server), it is stated that the job will be automatically discarded after execution. Therefore, it does not matter if you change those KNIME Server configuration parameters, as this is the behaviour of the endpoint. But if I did understand your question correctly, your job is not finished after 10 minutes but it is still automatically discarded, correct? What server version are you using?
Additionally, perhaps you would like to try a different approach if you do not want to use the Call Workflow node. You could perhaps first create the job, and then collect the job id to execute the given job using another endpoint from the jobs category.