Importing a flow

As an alternative to creating a new flow, you can import a flow, which was saved as a .yaml document or a .flowyaml document into Designer Authoring.

Before you begin

Start Designer Authoring by running the Designer command as described in Starting Designer Authoring by running the Designer command.

About this task

Import an existing flow if you want to test it in your environment or edit it to your requirements before you export it for deployment or redistribution.

You can import only flows that contain connectors or toolbox nodes that the current version of IBM® App Connect Enterprise supports.

Procedure

Import a flow by completing the following steps:

  1. In the sidebar navigation menu, click Designer to open the Designer page.
    Any flows that you created before are displayed.
  2. Click New > Import flow.
    The Import a flow wizard opens.
  3. Select a .yaml or .flowyaml file by using one of the following methods:
    • If you want to import a flow from your local file system, click Add a YAML file to open your local file system. Select a file, click Open, and then click Import.
    • If you want to import a flow from a repository, for example a GitHub repository, enter the file URL into the input field, click Add file, and then click Import.
    The .yaml document or .flowyaml document is imported into a folder in the flows subdirectory of the --designer-directory that was created when you ran the Designer command. For example:
    
    Directory of Directory of $HOME/IBM/ACEDesigner13/flows
    
    08/21/2024  12:08 PM    <DIR>          .
    08/19/2024  01:00 PM    <DIR>          ..
    08/21/2024  12:08 PM    <DIR>          anImportedFlow
    08/19/2024  01:01 PM    <DIR>          Untitled flow 1
    08/19/2024  07:23 PM    <DIR>          Untitled flow 2
    08/20/2024  10:55 AM    <DIR>          Untitled flow 3
    08/20/2024  04:20 PM    <DIR>          Untitled flow 4
    08/20/2024  04:23 PM    <DIR>          Untitled flow 5

What to do next

You can edit the imported flow in the Flow Editor as described in Creating an event-driven flow.