Skip to main content

External Data Adapter

External Data Adapters allow clients to search for and import data from external sources. Previously clients would need to host an API outside of Fenergo to receive Adapter Requests and orchestrate calls to their existing systems.

Using Flows that orchestration can now be run within Fenergo.

warning

Flows only supports TEST, SEARCH and GET methods of External Data Adapter. Ongoing Monitoring and Document Import are not currently supported.

Configuring a new Provider

Open the External Data Providers screen (IntegrationHub -> External Data) where you can add manage your External Data Providers.

External Data Providers
External Data Providers

The Flow Provider Configuration screen lets you map each External Data Request (Test, Search, Get) to a Flow. You can build a separate Flow per request, or build one Flow that handles all three requests See 'Gleif Search & Import' in Templates for an example.

External Data Provider Configuration
Flow Provider Configuration

After you've linked your Flow to each Adapter Request you can map the request/response schemas to your policy definition. See External Data Adapter Configuration for more details.

Runtime Details

ExternalDataAdapter sends three different events - TEST, SEARCH, GET. The Execution.Request object will store the following data for each event:

Execution VariablesDescription and Data Type
IdString. Unique Identifier of the External Data Adapter Request.
TenantString. Tenant Id the External Data Provider and Flow are running in.
ProviderIdString. External Data Provider Id sending the request
TypeString. Unique Identifier of the Task in Journey for the running Flow
RequestType = Test
  IdString. Unique Identifier of the External Data Adapter Request.
RequestType = Search
EntityTypeString. Fenergo Entity Type [ Individual | Company | Other | Group ]
SearchCriteriaObject. Fields that have been mapped on Search Request. These will be populated with the values from the Entity being searched.
RequestType = Get
EntityTypeString. Fenergo Entity Type [ Individual | Company | Other | Group ]
IdString. Unique Identifier of the Entity provided by the previous Search call
DataObject. Fields that have been mapped on Get Request. These will be populated with the values from the Entity being fetched.