An example workflow for using Integration with Flow
This example shows the typical steps involved in setting up a Flow Service in Integration so that it can connect to Flow using the Boomi Flow Services Server connector.
This example workflow is supplied for illustration only; each Integration/Flow use case will most likely be different, depending on the integration scenario and requirements.
Step 1: Creating a 'listener' process with the Boomi Flow Services Server connector in Integration
A process needs to be created in order to perform the Integration tasks required in your scenario.
The Start step for the process should be configured to use the 'Boomi Flow Services Server' connector in the Connector field.
For example:

-
The Action field is automatically set to 'Listen'.
-
A Flow Service Operation needs to be selected/created in the Operation field. This will define what type of operation is going to be performed in your flow (for example, whether the process supports a Message Action, a File Resource, or a Data Action), and what JSON (JavaScript Object Notation) Request/Response profiles should be used for exchanging data.

-
The operation Service Type will depend on what type of operation you wish to perform in Flow. For example, if you are going to use a Message Action step in your flow, 'Message Action' should be selected, or if you are going to be using the database Load, Save or Delete steps in your flow then 'Data Action' should be selected.
-
The Request/Response Profile you select/create is used to define the structure of data processed between Integration and Flow. To exchange data with a flow, the profile must be in JSON format.
-
If you wish to send data back to from the process, a Return Documents step should be added to the end of the process. Alternatively, a Stop step can be used if this is not required.
Step 2: Creating a Flow Service in Integration
A Flow Service needs to be set up in Integration to build and manage the connection to Flow.
Refer to Using the Flow Service component with Flow.
For example:
-
To create a Flow service, add a New component and select Flow Service as Type from the drop-down.
-
Navigate to the File Resources tab and add the List files and Upload file processes.

-
The Flow Service will need to be configured to match your operation/action requirements. For example, for a file upload process, the File Resources tab should be configured with processes created for listing and uploading files. Multiple Message Actions and Data Actions can be assigned to a single Flow Service.

-
The Path to Service field on the General tab will be needed when setting up the Boomi Flow Integration Service in Flow.

Step 3: Deploying the Flow Service and Processes in Integration
Once you have set up your Flow Service and created/assigned any relevant processes, you will need to ensure that they are deployed to a basic runtime using Runtime Management. If your Flow Service and processes are not deployed correctly, Flow will be unable to communicate succesfully with Integration.
For more information, refer to Deploying packaged components from deployments page.
For example:
-
You can check that your processes are shown in Deployed Processes:

-
You can check that your Flow Service and any processes configured to listen for events are shown in Listeners.

Step 4: Installing the Boomi Integration Service connector in Flow
Once you have successfully created and deployed your Flow Service and processes, the Boomi Flow Integration Service needs to be installed into your Flow tenant.
The Boomi Integration Service connector allows you to connect your flows to the Integration Flow Service component.
The connector URI is defined by the basic runtime URI that you select during connector installation, along with the Path to Service value.
For example:
-
'The Boomi USA East Integration Test Cloud' cloud Runtime Type is selected. The URI for this runtime cloud is 'https://c02-usa-east.integrate-test.boomi.com', which is used as the base URI for the connector endpoint.
-
The Path to Service is entered as '/fs/upload', as specified in the Path to Service field in the Integration Flow Service component.
-
This results in a connector URL of 'https://c02-usa-east.integrate-test.boomi.com/fs/upload'.

If you are using basic authentication for the connector, you will need to enter the Username and Token to use for connecting to the specified basic runtime. These can be found in the User Management tab in the Shared Web Server settings for your environment in Integration.

When this connector is installed, types may be automatically generated in Flow, using the Integration profiles that you have set up. Refer to Integration Profiles and Flow Types.
Step 5: Creating and configuring a flow in Flow
Once you have installed the into your tenant, you can build your flow and configure it to connect to Integration.
The following steps and components are typically used for integrating with Integration:
Message steps

A message step can be added to a flow in order to send and receive message requests between Flow and the Integration Flow Service. Message actions added to a message step are used by a flow to define the interface of inputs/outputs when calling against your Flow Service Message Actions, allowing you to map values in a flow to the inputs and outputs specified by your Flow Service.
Refer to Using Flow Service component Message Actions with Flow.
Database steps

The three types of database step in Flow (Load, Save, and Delete) can be added to a flow to integrate with your Flow Service Data Actions and their associated processes. Data actions added to a database step are used to handle all Create, Read, Update, Delete (CRUD) operations for a particular variety of record, using a single type in the flow.
Refer to Using Flow Service component Data Actions with Flow.
Files and File Upload components

Flow uses two file components for interacting with files. The File Upload component allows you to upload a file, which can then be consumed by a process. The Files component allows you to both upload a file, and list files for download from an outside system.
Refer to Using Flow Service component File Resources with Flow.
Page components

Table, Combobox and Radio page components can also be populated with data using . For example, data can be loaded directly from the Flow Service (or via a list value) into a Table component on a page in order to display data to flow users.
Refer to Querying data from Integration in Flow for an example scenario of loading data into a table component.