Flow and service based connectors

Connectors that use both flows and services are created by referencing a project that contains Link flows, and a service defiition that defines REST endpoints.

Flows defined within the project become the operations of the adapter, and the flow variables of each flow become the properties of the connector. Endpoints defined in the service can be used to obtain enumeration values (as described in the Service based adapters documentation), and also to obtain schema definitions.

Connectors can be used in embedded scenarios.

To create a flow and service based connector:
  1. Create a project that contains flows that implement actions.
  2. Create or import a REST service using the service editor.
  3. From the connector wizard, create a new connector and select the type as A connector defined by a project and a service.
  4. Select the project and the service.
  5. Optionally edit the properties and operations in the connector wizard. By default, all flows defined in the project are listed as operations. Select and delete any operations that you do not want to expose in the connector.
  6. Click deploy to deploy the connector to the Link server, or any additional Link runtime servers.

Define enumerations for properties as described in the Service based adapters documentation.

A service endpoint can be called to obtain schema definitions for connectors which need to provide that information to the application in which they are embedded.

To set up this association, follow these steps:
  1. In the endpoint definition in the service, define a schema response from the Advanced Options on the Success Response page.
  2. In the connector definition, select the endpoint in the Dynamic Field Endpoint of the schema mapping step.