Search a Node in a Knime Workflow by Id (Goto & focus a Node by ID)

A colleague of mine came up with maybe a similar question and we developed some super dirty approach that might give you an idea where to look.

Since all things KNIME are stored in XML files we thought we might as well import them and search for a specific term.

I constructed this scenario. I have my XML search meta workflow and a workflow in a subfolder (you might use any folder you like). I want to know where someone used the term “cryptic_xy_name” somewhere in the folder/workflow.

image

Has to be somewhere in these XML files:

The workflow comes back with this information:

And indeed there it is. Someone used the term in the Body of Java Edit node #2.

image

Please note: since this is quite dirty it might take a while and if you search for very generic terms you might get very large result tables. But you could explore them further.

kn_example_metasearch.knar (486.1 KB)

3 Likes