After Complete in Wizards

The developer can configure what will happen after the Wizard is completed. One way to do that is to add code to the U_AfterComplete subroutine, which is executed when the wizard is completed. In this subroutine the developer can choose, for example, to navigate to another panel, or to return to the caller.

After Complete Panel property

Another alternative is to use the “After Complete Panel” property in the Wizard node. When a WebComponent is set in this property it will be shown after the wizard is finished. If the WebComponent set as an “After Complete Panel” is generated using Web Panel Designer, the automatic mapping code between the Wizard SDT and the variables will be generated.

After Complete Panel As New Step property

When the “After Complete Panel” property is not empty, the developer can configure if it should appear as an additional step in the wizard steps control using the “After Complete Panel As New Step” property.

When it is set to false, no new steps will be added and the last step will be shown as selected when the after complete panel is shown.

When it is set to true, a new step will be added to the steps control, which will be selected when the after complete panel is shown. In this case the property “After Complete Panel Title” must be set to configure the title of the step.

Samples - After Complete Panel As New Step = True

WizardAfterCompleteNewStep1
After Complete Panel with After Complete Panel As New Step set to true before finish

WizardAfterCompleteNewStep2
After Complete Panel with After Complete Panel As New Step set to true after finish

Samples - After Complete Panel As New Step = False

WizardAfterCompleteNewStepFalse1
After Complete Panel with After Complete Panel As New Step set to false before finish

WizardAfterCompleteNewStepFalse2
After Complete Panel with After Complete Panel As New Step set to false after finish