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. This subroutine is executed when the wizard is completed. In this method the developer can choose, for example, to navigate to another panel, or to return to the caller.

Another alternative is to add an “After Complete Panel” in the “Wizard” node. When a WebComponent is set, after the wizard is finished, this web component will be shown. In the WebComponent set as an “After Complete Panel”, the automatic mapping code between the Wizard SDT and the variables will be generated.

When setting an “After Complete Panel” the developer can configure if it should appear as an additional step in the progress bar using the “After Complete Panel As New Step” property. When it is set to false, the WebComponentl will be shown in the same step in the “Wizard Progress Bar” as the last step. When it is set to true, a new step will be added to the “Wizard Progress Bar”, and after the wizard is finished the “After Complete Panel” will be shown in a new step. When this happens, the property “After Complete Panel Title” must be set, to configure the title of the WebPanel in the “Wizard Progress Bar”

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

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

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