How do I open another retool page after running a query?

Solution:
Found the solution in this thread. Redirect parent window from Retool
utils.openUrl() function