Invoking an App Connect Enterprise callable flow from App Connect Enterprise as a Service
In this scenario, one flow that is running in App Connect Enterprise as a Service invokes (calls) another flow that is running in App Connect Enterprise.
About this task
Developing and deploying a callable flow in App Connect Enterprise
Procedure
To develop and deploy a callable flow on premises, complete the following steps. You create an integration server and deploy the application that contains your callable flow.
Results
What to do next
Configuring secure connectivity between App Connect Enterprise as a Service and App Connect Enterprise
Procedure
To configure connectivity between an invoking flow in App Connect Enterprise as a Service and a callable flow in an on-premises integration server, complete the following steps. You configure connectivity by downloading a configuration file from App Connect Enterprise as a Service and applying it to your on-premises integration server.
What to do next
Creating an invoking flow in App Connect Enterprise as a Service
Procedure
To create a flow in App Connect Enterprise as a Service that can invoke a callable flow on premises, complete the following steps.
What to do next
Deploying an invoking flow
Procedure
- Deploying the flow on the flow runs plan
-
- Go to the Manage tab and click Deploy.
- Select the flow that contains the Invoke node, then click Next.
- Check the summary of the flow, then click Deploy.
A tile is added to the Manage page for your flow and is marked as "Inactive".
- Open the tile menu and click Activate.
The status on the tile changes to "Active" and the deployed flow is ready to be triggered.
- Deploying the flow from the Dashboard instance on the VPC hours plan
-
- Export the flow from your Designer instance as a BAR file.
(On the Designer dashboard , open the menu on the flow's tile, click Export, and select Runtime flow asset (BAR).)
- Switch to your Dashboard instance and click Deploy integrations.
- On the Size tab, select the appropriate size of integration runtime for your flow, then click Next.
- On the Integrations tab, upload the BAR file that contains your invoking flow, then click Next.
- On the Configuration tab, select a private network connection configuration, then click Next.
- Enter a name for the integration runtime, select the version, and set any other properties that are appropriate. For more information, see Deploying integrations on the VPC plan.
- Click Create.
The integration runtime is initially shown in
pending
status. Refresh the browser to update the status.
- Export the flow from your Designer instance as a BAR file.
- Deploying the flow from the Manage page on the VPC hours plan
-
- On the Manage page, go to the Integrations tab and click Deploy integration.
- Select the callable flow that contains the Invoke node, then click Next.
- Select an existing runtime, then click Next. Alternatively, create a runtime by clicking Create runtime. For more information, see Creating a runtime.
- On the Add configurations page, select a private network connection configuration, then click Next. You can select the default private network connection configuration default-switch-server-privatenetworkagent or you can select one that you created yourself.
- Check the summary of what you're deploying, then click Deploy.
A message indicates that the integration is being deployed. Refresh the browser to update the status. When the integration is deployed, a tile is shown on the Integrations tab of the Manage page and the status is Active. The invoking flow is ready to be triggered.
Results
When the integration runtime is ready, the invoking flow is deployed and is ready to be triggered. When the invoking flow is triggered, the Callable flow Invoke node invokes the Callable Input node of the callable flow on premises. The callable flow runs on premises and the Callable flow Reply node returns data to the Callable flow Invoke node in the cloud. Subsequent nodes in the flow can then use this returned data.
Your callable flows are listed on the Callable flows page (in the Connect category of the navigation pane). The table lists the applications and endpoints for the callable flows that you're connected to. You can also see whether the callable flow is provided by App Connect or by an on-premises integration server.