I am trying to set up the value of the configuration variable based on a query but unable to figure out how
2 Likes
Hi @Uddyalok_Chakraborty, welcome to the forum!
This is only possible on an Enterprise plan using the Retool API.
-
Create a REST API Resouce query and make a
PUT
request to/api/v2/configuration_variables/{id}
, passing the new value in the body of the request:
-
Attach this Resource query as a success event handler to your existing query.