Hi @bruno29a , you are right that the Column Selection and many other dialog config nodes can work without pre-executing based on the data table that is upstream of the component.
The example I was citing, and which I think applies here, is where the configuration isn’t purely from the input stream but is dynamically adapted according to some logic within the node. I have tried (but probably failed) to come up with a trivial example, but here goes. This is very contrived, but hopefully demonstrates what I’m referring to.
I give you “The Amazing Incredible Bilingual Day Number Selector”
The purpose of this incredible component is to take a Day of the Week selected by the user and its one job is to translate that drop down value into a number between 1 and 7 which is applied as a day number to the data table.
The dialog language for the days can be set to be either French or English depending on the setting of an upstream flow variable.
If the language is set to FR:
If the language is set to EN:
Because there is a calculation within the component (other than just the standard flow of columns or variables from upstream), the dialog cannot necessarily display the required config options (set according to the flow variable) until it has executed at least once, and thus been able to derive the dynamic contents of the drop down list.
So yes, you are right that in the general case, the component doesn’t require any pre-running for it to function, but in the specific case of dynamically creating the values for the dropdowns or other dialog controls, based on some additional logic, pre-executing is necessary before it can be configured.
This is, as I said, a contrived (and hastily thrown together) example, but I have a few components now where this does happen in real-world but somewhat more complex situations, where the dialog controls have to adapt to conditions (variable values or specific table data values) generated upstream.
Here is the amazing component in all its glory!
Dynamic Dropdown in Component.knwf (27.0 KB)