Unable to Apply Variables in Linked Component Nodes

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?

Thank you!


Is the component still in a shared state? If so, you need to unlink it, apply the desired changes and share it again.

4 Likes

After I unlinked the component, I was able to transfer the variables. :+1:

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?

Or have I misunderstood again?

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.

image

4 Likes

Tried and tested. It works. I’m back on track. Thank you.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.