Until the patterns on the canvas are connected, they are not a route. The editor will
not save a route
element into the context file until the patterns
are linked together to form a complete route. A complete route typically consists of
a starting endpoint, a string of processing patterns, and a destination endpoint.
Connecting two patterns is as simple as dragging a line from the start pattern to the
destination pattern. The default editor tool is the Connect tool. This
tool is used to connect patterns to each other. When using the Connect
tool, selecting a pattern and dragging creates a connector. The connector can be dragged to
any pattern that can follow the start pattern. If the destination pattern cannot follow the
start pattern, releasing the tool will not create a connection. For example, if you drag a
connector from a Choice
to a Try
the editor will not connect them.
However, the editor will connect a Choice
to an Otherwise
.
To connect two patterns:
Make sure the Connect tool (
) is selected.
Tip The Connect tool is the default editor tool.
Select the pattern where the connection will start.
The direction of the connection represents the direction messages flow between the patterns in the route.
With the mouse button held down, drag the connector to the destination pattern.
When the end of the connector is over the destination pattern, release the mouse button.
If the destination pattern can follow the start pattern, a connection is created on the canvas. If the destination pattern cannot follow the start pattern, nothing happens.
When you are done configuring the pattern, save your work by selecting
| .