The Insert Branch menu option is the fifth item in the Page menu. It is also available by right-clicking a branching condition in the Page Tree. This item allows you to add branches to the selected page. Selecting the Insert Branch menu option opens the Branch Condition dialog box.
Note: You may also edit a branch and delete a branch by right-clicking a branching condition in the Page Tree.
This is the location from which the branch occurs. You must select a process flow, stream, and page. The choice of process flow, stream, and page determine if it is a page branch, stream branch, or process flow branch.
If you select the choice [Current] for the process flow and stream and select a specific page, this creates a page level branch.
If you select the choice [Current] for the process flow and select a specific stream and page, this creates a stream level branch.
If you selects a specific process flow, stream, and page, this creates a process flow level branch.
You have four types of branches to pick from: always branch, conditional branch, return, and stop.
This option is used to specify where the script should be directed. You indicate this by selecting a process flow, stream, and page from the drop down lists.
This field is only active if the branch type is always branch or conditional.
This field is only active if the branch type is conditional. To branch conditionally, select a field in the first drop-down list box, a condition (operator) in the second, static or field (value type) in the third, and provide a value or field in the last. Genesys Agent Scripting will automatically determine the valid operators and range of values based on the type of field selected. For example, if you select a check box type field then only the equal and not equal operators will be selectable, and only true and false for values will be selectable. Similarly, if you select a radio button type field then only the equal and not equal operators will be available. However, the values drop-down will list all possible values for the radio button.
A conditional branch only branches if the selected condition is met.
This check box is only active if the branch type is always branch or conditional. If this box is checked, it indicates that upon hitting a return point, the system should branch to the location specified below.
This field is only active if the Use Branch On Return box is checked.
This option is used to specify where the script should return to after hitting a return point. You indicate this by selecting a process flow, stream, and page from the drop-down lists.
Click OK to save any changes made to the branch.
Click Cancel to close the window without accepting any changes to the branch.
Page, stream, and process flow branches are grouped separately under their page in the Page Tree.
The page level branches appear above the stream level branches, which are above the process flow level branches. Branches with return may fall in any of the three categories. They are differentiated in the Page Tree by symbol.