Go To Step
Move immediately to the step you specify. The wizard will skip:
-
All remaining Advanced Commands and the Core Action of the current step; and
-
All steps between the current step and the step you specify in the command (the "destination step")
It is generally used in combination with Flow Commands such as If Else.
-
Choose whether to identify the destination step by step number/name or by the value stored in a variable
-
Instruct the wizard how to handle any errors encountered. Read more about error handling.
Watch the variable value!
When the destination step is identified by variable, the specified variable must contain a numeric value that matches one of the wizard's step numbers.
If the variable specified contains an invalid value, the wizard will proceed sequentially – as if the GO TO STEP command were not there.
Going to steps marked Do not play
Note the behavior of the Go to step command when the destination step is marked Do not play:
-
When the destination step is identified by step number/name, the wizard will end
-
Wizard status will show that wizard ended successfully
-
-
When the destination step is identified by variable, the wizard will proceed to that step, skip it (as instructed), and then continue by proceeding to the next step in the flow
Best practice, of course, is to ensure that Go to step commands do not point to destination steps marked Do not play.