Quantcast
Channel: KNIME RSS
Viewing all articles
Browse latest Browse all 4157

How to determine whether a SettingsModel in a NodeModel is controlled by a flow variable?

$
0
0

Hi there,

how can I determine whether a SettingsModel in a NodeModel is controlled by a flow variable?

Example: SmilesDirectoryReader

  • If I enter nothing or a non-existing path into the dialog field "Directory", I will get a warning like Directory "z:\tmp2" does not exist -> that's ok and comprehensible
  • But, if I use a workflow variable that points to a non-existing location at configuration time, I will get the same warning.  In my opinion, in this case there should be no warning, because the variable value will probably change at execution time!

So, in my new node I am developing currently, I want to check, whether a SettingsModelXyz is filled by a constant value with some dialog component, or by a flow variable.

Thanks for any help, Frank


Viewing all articles
Browse latest Browse all 4157

Trending Articles