Hi!
I’m using a shared component in my workflow and when execute it by command line it is not updated even when there are updates. I’m wondering if there is an option to update the link of the shared component either automatically once the workflow is executed or by a command in the command line.
Hi @elaisafonceca,
You could try adding -updateLinks
to the batch command so linked Components refresh to their latest versions before execution. If you don’t want those updates written back to the workflow, include -nosave
; if you do want them saved, just omit -nosave
.
Best,
Keerthan
2 Likes
Hi!
I add the -updateLinks parameter to the batch command but when i executed the workflow that contains the component it gets me the error message:
We need some feature that confirm yes in this window when the workflow was executed via batch command, otherwise, how it works when i have a component into multiples worksflows and that component is edited, so i need to manually update each workflow that contais that component? Please, let me know whats is the best practice in this case.

Is it possible that this is a permission issue? The message in the screenshot suggests that KNIME can’t access the component directory.
Could you confirm how you’re calling the script? Also, is the component referenced with an absolute link, and does the script have access rights to that component location?
Best,
Keerthan
1 Like