If I understand correctly, saving the process in the KNIME application and the “Save Workflow” node are different. I would like to get Java code that allows me to replicate the process saving as it is done in KNIME. When saving through the button, the state of the workflow.svg file in the root folder changes.
1 Like
Hello @Nuke_Attokurov,
I think you may want to look at the github for that.
Here is the code for the ‘Save Workflow’ Node (using this as a reference, you can probably add the function for saving a image of the workflow ):
And I believe this is where you can find the source code for save button in the knime AP under their Knime-core repository.
Hope this helps,
TL
2 Likes
Hello @thor_landstrom,
Could you tell me if there’s a way to get a sample of the workflow.svg file after running KNIME in batch mode? That is, the process has started, but without saving it, how can I see the workflow.svg to visualize any errors that occurred during the process? If possible, could you provide an example of how to achieve this?