Auto Assign/Map Variables to Node Configuration

Hi,

in order to dynamically manage node configurations, I’d like to suggest to add an option to have variables, if their name and required type exactly matches, automatically get mapped / assigned.

I.e. when injecting colors via the color manager, the columns can change depending on the selected date range. If there are new variables, these must get assigned manually. The same is true for the inverse scenario when assigned variables are gone.

Best
Mike

Hello @mwiegand ,

thanks for the feedback, we also noticed this difficulty when assigning multiple values (of varying length) via flow variables, as we are working to port more nodes to modern dialogs. Color Manager is one case, but also Sorter or String Replacer (Dictionary), which uses a second table instead of flow variables, face a similar problem. Our goal is to harmonize how the settings of nodes can be adjusted programmatically. Our efforts hopefully make this kind of workflow automation more user-friendly and flexible.
While we are not in a state yet to present our ideas more broadly, we appreciate feedback on the topic.

4 Likes

Thankt for letting the community know that something awesome is is the pipeline. Do you happen to have a ticket already?

PS: Here is another scenario just in caser it is not factored in yet. Assume there is a variable with the same name but of changing type. At present, that always fails but with the ability to dynamically map variables, Node configuration would truely get unleashed.

WARN  Row Filter           3:36:0:33:0:18 Errors loading flow variables into node : Errors overwriting node settings with flow variables: Can't evaluate variable "Row0" as xstring expression, it is a STRINGARRAY (""Row0" (STRINGARRAY: [semicolon;semicolon, backslash\bakslash, quotes"quotes])"
WARN  Row Filter (deprecated) 3:36:0:33:0:1000 Errors loading flow variables into node : Errors overwriting node settings with flow variables: Can't evaluate variable "Row0" as xstring expression, it is a STRINGARRAY (""Row0" (STRINGARRAY: [semicolon;semicolon, backslash\bakslash, quotes"quotes])"