Saving a message flow or subflow

You might want to save your message flow or subflow when you close the IBM® App Connect Enterprise Toolkit, work with another resource, or validate the contents of the flow.

Before you begin

This topic assumes that you have created or opened a message flow or subflow, as described in the following topics:

About this task

To save a message flow or subflow, complete the following steps.

Procedure

  1. To save the flow without closing it, click File > Save.
    You can also save everything by clicking File > Save All.

    The message flow or subflow is saved and the message flow validator validates the contents of the flow. The validator reports all errors that it finds in the Problems view. The flow remains open in the editor view. For example, if you save a message flow and have not set a mandatory property, an error message appears in the Problems view and the editor marks the node with the error icon The error icon (white cross in a red circle). The message flow in the Application Development view is also marked with the error icon. This error can occur if you have not edited the properties of an MQInput node to define the queue from which the input node retrieves its input messages.

    You might also get warnings when you save a message flow or subflow; warnings are also shown in the Problems view. Warnings indicate that, although the configuration of the message flow or subflow does not contain an explicit error, the configuration might result in unexpected results when the flow completes. For example, if you have included an input node in your message flow that you have not connected to another node, you get a warning.

  2. If you save a message flow or subflow that includes a subflow, and the embedded subflow is no longer available, three error messages are added to the Problems view.
    These errors indicate that the input and output terminals and the embedded subflow itself cannot be located. This error can occur if the embedded subflow has been moved or renamed.

    To resolve this situation, right-click the subflow node in error and click Locate Subflow. The Locate Subflow dialog box is displayed, listing the available integration projects. Expand the list and explore the resources available to locate the required subflow. Select the correct subflow and click OK. All references in the current message flow or subflow are updated and the errors are removed from the Problems view.

  3. You can also save a message flow or subflow when you close it. When you click File > Close, you are asked if you want to save the flow. Click Yes to save and close.
    Validation occurs and all errors and warnings are written to the Problems view.

What to do next

For information about using the File > Save As option to take a copy of the current flow, see Copying a message flow or subflow by using the save option.

For information about handling errors that occur when you save, see Correcting errors from saving a message flow or subflow.