This section explains how to add a branch to an application. A branch is an instruction to link to a specific page, procedure, or URL after a given page is submitted. For example, you can branch from page 1 to page 2 after page 1 is submitted.
To create a branch in Page Designer:
The Property Editor displays the Branch attributes.
The Messages tab displays a red or yellow badge to identify messages you need to address. Selecting a message displays the associated attribute in the Property Editor. You must address red error message before you can save.
Sequence - Specify the sequence for this component. The sequence determines the order of execution.
Point - Select the point in the processing at which this branch action is considered. Options include:
After Submit (previously named Before Computation)
Validating (previously named Before Validation)
Processing (previously named Before Processing)
After Processing (previously named After Processing)
Before Header (previously named Before Header)
The attributes that display in the Property Editor depend on the branch type you select.
If Type is Page or URL (Redirect), click Target and edit the attributes in the Link Builder Target dialog.
When Button Pressed - If you want this page processing component to execute only when the specified button is clicked, select a button from the list. You can incorporate this button condition with other conditions to further refine when this page processing component executes.
Condition Type - Select a condition type from the list that must be met in order for this component to be rendered or processed. To learn more, click the Help tab in the central pane.
To learn more about an attribute, select the attribute in the Property Editor and click the Help tab in the central pane.
To create a branch:
The Create Branch Wizard appears.
On Submit: Before Computation - Branching occurs before computations, validations, or processing. Use this option for buttons that should not invoke processing (for example, a Cancel button).
On Submit: Before Validation - Branching occurs after computations, but before validations or processing. If a validation fails, page processing stops, a rollback is issued, and the page displays the error. Because of this default behavior, you do not need to create branches to accommodate validations. However, you may want to branch based on the result of a computation (for example, to a previous branch point).
On Submit: Before Processing - Branching occurs after computations and validations, but before processing. Use this option to branch based on a validated session state, but before performing any page processing.
On Submit: After Processing - Branching occurs after computations, validations, and processing. This option branches to a URL or page after performing computations, validations, and processing. When using this option, remember to sequence your branches if you have multiple branches for a given branch point.