Develop > Wizards > Using the Wizard Tool > Wizard order of execution

Wizard order of execution

When a wizard is run, it executes in the order the tabs are displayed in the wizard tool interface (Wizard Info, File Selection, Usage, and so on.)

On the Usage tab, the developer determines whether the wizard panel is displayed to the end user. If the panel is displayed, the order of execution then depends on which button the end user clicks, Next, Previous, Cancel, or Finish.

If the end user clicks the Previous button, the previous wizard panel is displayed, or some other panel as set by the developer using the Previous Wizard tab in the wizard tool.

The Finish button is intended to be used at the end of the workflow. If the user clicks it in the middle of the workflow, the wizard will proceed through the rest of the sequential wizard panels without prompting the user for further input.

The Comments tab is used for internal development comments, and has no effect on the wizard processing flow.

Within the File Selection tab, the Initial Expressions and Javascript evaluate after the Select $L.file by tab. The means that you cannot populate a query variable in Initial Expressions and then use it in "Select $L.file by."