Config values retrieval in tickscript

Hello, have a question about config files. Looks like a tickscript cannot directly access config files which has a set of predefined values which are subject to change.
I tried to include them directly in the tickscript as variables but wanted a cleaner way to distinguish them from code. So I had the following options in mind -

  • store the config values in a db table and retrieve them in the tickscript using a stream/batch and then create another stream/batch and pass those values there for execution… however join seems inadequate to do that.
  • second option I was considering udf… but for udf I only want to retrieve a particular value from the udf based on a run-time variable value… finding this a bit challenging. Is there a documentation/example to see?

Thanks in advance.