I’ve created a component containing two nodes, and I’ve used this component as a link in several places throughout my workflow. I’d like to make external variables available to the nodes inside the component. Each of the components receives variables with the same name, but the values are different for each instance.
The issue I’m facing is that when I edit the component, the ‘Component input’ and ‘Component output’ nodes appear to be locked. I can select the variables, but the ‘Apply’ and ‘OK’ buttons remain greyed out. This occurs regardless of whether I’ve reset the workflow or not.
Has anyone encountered this before, or could you point out what I might be doing wrong?
After I unlinked the component, I was able to transfer the variables.
However, the component can no longer be linked, but only shared under a new name.
That means: As soon as a component accesses variables, it can no longer function as a linked component? Doesn’t that undermine the concept of the component?
I’m afraid that’s a misunderstanding. You can link and unlink a component as much as you like and update the workflows that use that component accordingly. If you upload it for example to a KNIME Server or just your local repository it will prompt you to override the current saved version with your updated one.