All contained nodes in that component have been successfully executed but the final nodes “Component Output” 's execution still remain failed. Also it seems that no data been transfered to this node cause its configure shows nothing… i don’t know what’s wrong with my operation
Hey Judy, welcome to the forum!
In your component there is this “black square” input port into the Component Output node ( see green square in screenshot below):
As this is not connected to anything this node cannot be executed.
In order to avoid this:
- either connect the correct node to it
- or delete it - for that I think you need to navigate out of the component and change the component configuration. In modern UI you should just be able to hover over it and then a delete button should appear. In Classic UI you will need to right-click the component and then select Component => Set up. In that screen you should be able to remove this port
Hi Martin, thanks for your reply. it’s strange that the ‘Componet input’ and ‘Componet Output’ were generated automatically when i created component. I tried to delete it but failed. there was no delete button and also no Component =>Set up when i tight-click it …
understood.
Can you let me know whether you are using classic or modern UI?
Happy to take screenshots and provide more concrete instructions :-).
Removing the Port will definitely work.
Alternatively you can also “Expand” the component again (i.e. moving all nodes a level up) and the re-creating the component…
I think it’s modern UI. I just found that if i don’t connet the ‘Componet input’ and ‘Componet Output’, once all the nodes been executed successfully, both of them will turn green and the component turn green. But if i want to connet this componet to another componet to transfer data , it trun red and report error that i should connet the “Component Output”. Re-create the component also appear the same problem.
I take both pictures are from data cleaning component?
What is inconsistent:
- on the outside - i.e. second picture, there seems to be a flow variable output port coming out of your component.
- on the inside - i.e. first picture - your output node does not have a flow variable input port
On your second image you see that trashcan icon next to the red dot - can you again click that red dot and when the trashcan appears then click it to delete that port?
I also did a quick test to see if I can reproduce your problem - w/o that port it works:
Inside:
Ouside:
After adding a flow variable output port it doesnt work:
If I delete it:
Then reset it:
I can then execute again:
I add the flow variable outside the component cause i need it to connect this componet to another component( Data Analysis). Once i add the flow variable, the inside output-node will also show a flow variable. My expection is transfer the processed data from 1st component to the 2nd componet. Would you pls teach me how to connect two components ?
Well in general you just need to connect them. Right now it looks like you are reading and writing the data in your first component. Do you then read the data back in in your second component?
Little bit hard to help w/o understanding your use case…
I see that you are just getting started with Knime - I recommend you check out this video on YouTube:
It’s part of a full playlist which covers the Level 2 course - definitely worthwhile watching if you are just getting started with finding your way with knime