Invoking Flow services for flat file connector

Explore how to create a Flow service and invoke one of the following predefined operations:

Before you begin

  • Log in to your tenant and enable Flow services.
  • Check whether you have the developer and admin roles that are assigned from the Settings > Roles page.
  • In webMethods Integration, make sure that you have the Flat File connector with defined connector details. For example, Delimited_flatfile_connector.

About this task

The available predefined flat file operations are:
  • convertFlatFileToDocument - Converts the flat file to a document (inbound)
  • convertDocumentToFlatFile - Converts a document to a flat file (outbound)

Procedure

  1. Select the project where you want to create the new Flow service. You can also create a new project.
  2. Click the Flow services tab, and on the Flow services page, click the "+" icon.
  3. Provide a name, for example, Flatfile_flowservice, and an optional description for the new Flow service.
  4. Type Delimited_flatfile_connector in the search box, select it, and then select the operation, convertFlatFileToDocument.
  5. Click the mapping icon to map the input and output fields.
  6. Click the pipeline input fields and enter values. The service output is automatically mapped to the pipeline output by a dotted line.
  7. Save the Flow service and then run it.

    The data is now converted into a structured format, which conforms to the document type associated with the flat file connector.