How to set values of configuration variables dynamically based on a query success handler?

I am trying to set up the value of the configuration variable based on a query but unable to figure out how

2 Likes