I’m wondering if it is possible to use flow variables to set variables in source nodes. It appears that it is not, because it appears that variables are carried along with data into nodes. Is that correct? Specifically, I’m trying to dynamically set the database url parameter of a database reader node.
You are right, it’s not possible to inject variable into source node such as the Database Reader or File Reader. The only way I could think about is to define a workflow variable on the project itself, which then can be used in all nodes. Not sure if this makes sense in your case. Apart from that, if you manage to use the Database Looper is some way, you can replace the URL dynamically - but I never tried it…
Thanks Thomas. I might look into that. I was also thinking about deriving my own custom node, based on the code for the database source nodes to create a database reader node that had an input port.