Wizard won't wait query on virtual step

  1. My goal: I need a wizard virtual step to wait until a query has finished running.
  2. Issue: The sample documentation [1] says virtual steps wait until the query is finished but this is not the case.
  3. Steps I've taken to troubleshoot: I have created a sample application following all the steps in the documentation [2]
  4. Additional info: (Cloud or Self-hosted, Screenshots)
    See video: Uploading

[1]
Getting started with the Wizard component | Retool Docs

[2]
Getting started with the Wizard component | Retool Docs

Welcome to the community, @mariob! Thanks for reaching out. I'm not very familiar with the wizard component and had to do some brushing up on it, as a result, but everything seems to work as expected when I ran through the same guide.

One quick thing to note is that you may not see much of a pause at all if the query executes quickly. There's also two flaws I see with the way the tutorial itself has you build everything:

  • nothing clears deactivateUser.data between runs
  • nothing triggers the verifyUser query

The first bullet point, in particular, may explain why you're not seeing any delay.

Have you had a chance to revisit this, @mariob? Let me know if you have any additional questions!