Creating node with flow output port

I have a node that retrieves some information and pushes it as a flow variable to the further workflow. This node does not do anything with data, so it has no use for input or output ports.
I can activate the flow variable ports at the top of the node and connect them to the remaining workflow, but I would like to have my flow output as an explicit and documentable output port of flow type, just like the standard configuration nodes. Is this possible for custom nodes?

grafik

Hi @JS_KN,

Yes that is possible, you need to use the more generic constructor in NodeModel:

Take a look at this example from knime-python:

best,
Gabriel

4 Likes

Thanks a lot, works now :slight_smile:

1 Like

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