Dialogue Manager Process Flow in the Procedure Viewer

How to:

You can view Dialogue Manager commands and process flow in the Procedure Viewer.

The Procedure Viewer includes the following views:

The Procedure Viewer toolbar also has the following Dialogue Manager icons:

Icon

Descriptions

The DM If button launches the -IF Editor, where you can create expressions with the -IF command. This command determines the execution flow of a procedure based on the evaluation of expression(s).

The DM Goto button launches the -GOTO Editor, where you can create expressions with the -GOTO command. This command transfers control to a label.

The DM Label button launches the -LABEL Editor. A label is a target of a -GOTO command.

The DM Repeat button launches the -REPEAT Editor, where you can execute a loop based on the evaluation of expressions.

The Dlg Mngr button is used to enter all other Dialogue Manager commands, such as the -SET command.

The Logical Connections button is available in the Logical View. Click it to show arrows that represent the relationships between components.

If you select a component, the colors of the arrows pertaining to that component change. Green indicates an outgoing process, and red indicates an incoming process.

The Selected Only button is available in the Logical View. You must activate the Logical Connections button before you can use it.

If you click the Selected Only button while the Logical Connections button is activated, you will see black arrows between the components that indicate the process flow.

If you click a component while the Selected Only and Logical Connections buttons are activated, the colors of the arrows pertaining to that component change. Green indicates an outgoing process, and red indicates an incoming process.

Only arrows that pertain to the selected component display with the appropriate colors.

The Horizontal button is available in the Logical View. It is activated by default and shows components in a horizontal arrangement.

The Vertical button is available in the Logical View. It shows components in a vertical arrangement.

The Hide Comments button is available in the Logical View. Click it to hide Comment components so you can more easily view other components in the process flow.

The Large button is available in the Logical View. It is activated by default. It shows larger components in the process flow view.

Note: You can also change the size of components in the Logical View by selecting another size in the drop-down list next to the Large and Small buttons.

The Small button is available in the Logical View. It shows smaller, iconic components in the process flow view.

Note: You can also change the size of components in the Logical View by selecting another size in the drop-down list next to the Large and Small buttons.

The Save Bitmap button saves the image as a .bmp in Microsoft Paint.

The Save button saves the changes you make while in either the Logical View or Text View.



x
Procedure: How to Create a Component in the Procedure Viewer
  1. To create a component in the Procedure Viewer, do one of the following:
    • Choose one of the Dialogue Manager tools from the Procedure Viewer toolbar.
    • In the Physical and Logical Views, launch the Component Connector toolbar and select Dlg Mngr on the drop-down list to see the Dialogue Manager tools.

    Note: To launch the Component Connector toolbar in the Physical View, click a component connector (yellow diamond). To launch it in the Logical View, click a component handle. If you click a left handle, other components are placed immediately before the selected component. If you click a right handle, other components are placed immediately after the selected component.

  2. Choose one of the Dialogue Manager tools DM If, DM Goto, DM Label, DM Repeat, or Dlg Mngr and create a component.

    In the Logical View, the new component appears at the end of a group of components. In the Physical View, the component appears immediately after the handle of the selected component.


Top of page

x
Procedure: How to Locate Components in the Text View

When you are in the Logical or Physical View, you can locate code in the Text View.

  1. In the Logical or Physical View, select a component.
  2. Click the Text View tab. The cursor is positioned at the beginning of the code that corresponds to the selected component.

Note: You can also highlight one or more lines of code in the Text View and then view the selected components in the Physical and Logical Views. The code for the components you selected in the Text View appears in bold in the Physical View. The code for the components you selected in the Text View appears with green and red arrows. Green indicates an outgoing process, and red indicates an incoming process.


Top of page

x
Procedure: How to Create Dialogue Manager Templates

You can create Dialogue Manager templates using the -IF Editor and -REPEAT Editor tools. This feature is only enabled when you are creating new Dialogue Manager code.

  1. To launch the tools, do one of the following:
    • Choose one of the Dialogue Manager tools from the Procedure Viewer toolbar, by clicking either the DM If button or the DM Repeat button.
    • In the Physical and Logical Views, launch the Component Connector toolbar and select Dlg Mngr on the drop-down list to see the Dialogue Manager tools. Select DM If or DM Repeat. The appropriate tool opens.
  2. Do one of the following:
    • In the -IF Editor, create your expression in the tool and check the Create Template check box. If required, select or type the template end label.
    • In the -REPEAT Editor, create your expression in the tool and check the Create Template check box.

WebFOCUS