Java Edit Variable Snippet and External procedure call

In a rather complex workflow I need to call an external CLI application which does not read csv or sdf format. Anyway before that call the input file for that program is created and saved to disk.

The issue I have is that when applying or pressing on OK in the node configuration the whole snippet is executed, eg. the external process is called right then and not actually when the node is executed then nothing happens?

Since this is a long running program it is very, very impractical. Is there a solution for this? Why is the snippet run during configuration?



Because we want to provide the value to the downstream nodes already during configure. It should be executed again when the node is executed, though.