Get Step Data

Retrieve the number or name of the current step and place the result into a new or existing variable.

  1. Choose whether to retrieve the number or name of the current step

  2. Enter the name of the variable into which you'd like to place the result

Take care with embedded wizards!

Note that the result of this advanced command will differ a bit when it is used for a step in which the core action is an embedded wizard:

  • When the command is used in the Step start section of the step, the result returned will be the step number/name of the containing wizard

  • When the command is used in the Step end section of the step, the result returned will be the step number/name of the last executed step of the embedded wizard

Example:

The core action of Step 3 of your wizard (let's call it Main Wizard) is an embedded wizard (let's call it Sub Wizard). Sub Wizard contains 6 steps. You place Get step data Step 3 of Main Wizard.

  • If you place the command in Step start, the result will be 3

  • If you place the command in Step end, the result will be 6 (assuming Step 6 of Sub Wizard was actually executed)