Adding a subflow

Within a message flow, you might want to include an embedded message flow, also known as a subflow.

Before you start

To complete this task, you must have completed one of the following tasks:

When you add a subflow, it appears in the editor view as a single node.

You can embed subflows into your message flow if either of the following statements is true:

To add a subflow to a message flow:

  1. Switch to the Broker Application Development perspective.
  2. Open the message flow that you want to work with.
  3. Drag and drop the message flow from the Navigator view into the editor view. Alternatively, highlight the embedding message flow and click Edit > Add subflow, which displays a list of valid flows that you can add to the current flow.
  4. Select the flow that you want to add from the list. The subflow icon is displayed with the terminals that represent the Input and Output nodes that you have included in the subflow.
  5. Click OK.
  6. Repeat steps 3, 4, and 5 to add further subflow nodes.
  7. Select and open (double-click) the flow by name in the Navigator view, or right-click the embedded flow icon and select Open Subflow to work with the contents of the embedded flow

When you have added the nodes that you want in this message flow, you can connect them to specify the flow of control through the message flow, and you can modify their properties.

Related concepts
Message flows overview
Related tasks
Defining message flow content
Creating a message flow
Opening an existing message flow
Configuring a message flow node
Connecting message flow nodes
Related reference
Built-in nodes