The fourth page of the New Flow wizard, titled Building
a terminal flow, allows you to quickly create a set of Invoke
screen operation nodes in the new flow by selecting existing screen
interactions.
For this page of the New Flow wizard to be available, you must
select the check box Build terminal flow from screen operations
files on the first page of the New Flow wizard.
On the fourth page of the wizard, each time that you select a screen
interaction and click the
Add Action button
(alternatively, you can double-click a screen interaction) the wizard
creates a new Invoke screen operation node inside the new flow and
initializes the node with the relevant information from the selected
screen interaction. You now have a working screen operation Invoke
node (assuming that the screen interaction contained all the proper
information) that can manage the application screen for which the
screen interaction was created. (For more information see
Learn more about the artifacts).
Note: This page of the
wizard does not allow you to arrange the new screen operation Invoke
nodes in a particular order or to create or remove connections between
nodes. Use the flow editor to perform these operations.
The main components of this page of the wizard are as follows:
- The Screen Operations pane (left pane)
displays a tree view of all the service flow projects in your workspace.
Expand a service flow project entry to display the screen operations
files contained in that service flow project. You can select one or
more screen operations files, and the selected screen operations files
can be in different service flow projects.
- The Screen Interactions pane (center pane)
displays the screen operations contained in the screen operations
file (or files) that you selected in the left pane. Expand a screen
operation to view the screen interactions in it. You can select only
one screen interaction at a time.
- The Flow Outline pane (right pane) displays
an outline of the new flow to which you are adding Invoke screen operation
nodes.
To use this page of the wizard:
In the
Screen Operations Files pane,
expand the entry for one of the service flow projects and then select
a screen operations file that contains a screen interaction from which
you want to create a screen operation Invoke node.
Note: You can
select a screen operations file from any service flow project in your
workspace. You can select multiple screen operations files.
In the Screen Interactions pane, expand
one of the screen operations and then select the screen interaction
that you want to use.
Click Add Action. (Alternatively, you
can double-click the screen interaction in the Screen Interactions pane.)
The wizard creates a new Invoke screen operation node using the selected
screen interaction and its associated information. The new Invoke
node is displayed in the Flow Outline pane
of the wizard page.
When you have finished creating Invoke nodes, click
Finish:
- The wizard opens the new flow in the flow editor.
- The wizard closes.
Note: The New Flow wizard does not allow you to leave this page
(the
Finish button is disabled) if the last
node that you added to the flow was created from a screen interaction
that contains an AID key input action. The presence of an AID key
input action in the screen interaction implies that the host receives
the AID key and displays a next screen. Therefore a screen interaction
for the next screen must be selected. The wizard displays the following
message in the message area at the top of the page:
The last screen interaction contains an AID key input. A next screen
is required.
To resolve this problem, add a screen interaction
for the next screen that contains only output actions (Extract actions)
or that contains no actions at all.
The following list describes the other features of
this page of the wizard:
In the
Screen Interactions pane:
- When you float the mouse pointer over an entry for a screen operation,
the wizard displays a thumbnail of the application screen with which
the screen operation is associated. (This thumbnail is created from
the screen description that is referenced by the screen operation.)
- When you float the mouse pointer over an entry for a screen interaction,
the wizard displays a small window listing the input actions contained
in the screen action.
In the
Flow Outline pane:
- The Flow Outline pane displays the nodes
in the same format in which they are displayed in the Outline view
when the screen editor is open.
- If on previous pages of the wizard you have chosen options that
cause a Receive Node, a Reply Node, an Assign node for the input message,
or an Assign node for the output message to be created, then the Flow
Outline pane displays these artifacts.
- A window under the Flow Outline pane displays
a thumbnail of the application screen corresponding to the most recently
added Invoke screen operation node. (This thumbnail is created from
the screen description referenced by the screen operation containing
the screen interaction from which the node was created.)
The
Filtering Level slider contains
two settings that affect which screen operations are displayed in
the
Screen Interactions pane:
- The setting Show All causes the wizard
to display all the screen operations (and their screen interactions)
contained in the screen operation file or files that you selected
in the left pane.
- The setting Show Next Screens causes the
wizard to display a screen operation (and the screen interactions
contained in it) only if:
- The screen operation is contained in a screen operations file
that you selected in the left pane; and
- The screen operation references one of the screen descriptions
contained in the list of next screens associated with the screen operations
Invoke node that you just added to the flow outline.
In other words, this setting causes the wizard to conveniently
list only the available screen operations that match the most recent
list of valid next screens.