Flow nodes
This topic describes the various types of flow nodes that can appear on the flow editor canvas.
A node is an icon on the flow editor canvas that represents a single, editable step or instruction in the path of execution. (The path of execution of a flow is called the flow path -- see Flow path). You create and connect nodes to extend and modify the flow path.
Nodes are connected through input terminals and output terminals. Each type of node has, depending on its type, a certain number of allowed input terminals and output terminals, which may be 0, 1, or multiple (described in the tables following). For most nodes each input terminal can have multiple incoming connections and each output terminal can have multiple outgoing connections (see Terminals).
- If you want to create nodes to manage a terminal application, you can record a flow (see Recording a flow in the host editor) and later edit it in the flow editor.
- In the New Flow wizard you can create a basic framework of nodes and optionally add nonterminal or terminal nodes to this framework (see Creating a flow with the New Flow wizard).
Receive, Reply, and Throw nodes
| Type of node: | Description: | Number of terminals: ![]() |
|---|---|---|
Receive node:![]() |
Defines the entry point of a flow. | One output terminal |
Reply node:![]() |
Defines a normal exit point from a flow. | One input terminal |
Throw node![]() |
Defines an abnormal exit point from a flow. | One input terminal |
Assign, Switch, and While nodes
| Type of node: | Description: | Number of terminals:![]() |
|---|---|---|
Assign node:![]() |
An Assign node is associated with a mapping routine that can copy data and optionally perform operations on data (see Where to use mapping routines). |
|
While node:![]() |
A While node specifies a loop condition for a While loop (see Basic information about While nodes). |
|
Switch node:![]() |
A Switch node has multiple output terminals each associated with an ESQL expression that you specify and that must evaluate to Boolean true or false. The runtime code serially evaluates the ESQL expression associated with each output terminal, and follows the flow path connected to the first output terminal whose expression evaluates to true (see Using ESQL expressions with a Switch node). |
|
Parse node
| Type of node: | Description: | Number of terminals:![]() |
|---|---|---|
Parse node![]() |
|
|
A parse node directs the flow of control based on a recognized screen but does not generate input. Like an Invoke screen operation node, a parse node does screen recognition at its output terminals and sends the flow of control out the output terminal associated with the recognized screen. However unlike an Invoke screen operation node a parse node does not generate input such as AID key.
As with an Invoke screen operation node, each input or output terminal of a parse node can have a separate mapping routine.
An output terminal of a parse node can contain Extract actions for the following Invoke screen operation node. However, the input terminal of a parse node cannot contain Insert actions or a Input action.
Invoke nodes in the flow editor
| Type of Invoke node: | Description: | Number of terminals:![]() |
|---|---|---|
Invoke node![]() |
|
|
Invoke nonterminal node![]() |
|
|
Invoke outbound web service node![]() |
|
|
Invoke screen operation node![]() |
Further information about the output terminals:
|
|
Invoke flow node![]() |
Restriction: An Invoke flow node is supported only
where a nonterminal flow (a flow containing Invoke nonterminal nodes)
invokes a terminal flow (a flow containing Invoke screen operation
nodes.)
|
|











