Run query B before running query A

Here is the setup: there are two Retool query, both calling a gRPC service. Query B use the result of query A to construct its request so query A must be run before query B. Is there a convenient way to express this in Retool.

My workaround is to create a JS query that call these two queries in order.

That’s also the way how I do this.
You could also use the on succes event handler of the first query to trigger the second one.

1 Like