Oracle by Example brandingUse an OIC Integration in a Process Application

section 0Before You Begin

This 15-minute tutorial shows you how to activate an integration in Oracle Integration and use it within a process application.

Background

Oracle Integration is a complete, secure integration solution that enables you to integrate your applications and services in the cloud as well as on premise. You can create an OIC integration to connect to an external application or a web service and activate the integration to the runtime environment.

You can use active OIC integrations in a process application and connect your processes to external services or applications, for which the connection parameters are defined within their respective OIC integration elements.

Using an existing OIC integration, let’s explore how to activate and employ it within a process. For simplicity, we’ll use the weather example of the previous tutorial to demonstrate this scenario. An OIC integration (WeatherConnector1) that fetches the real-time weather data for a city has been created in advance for this example. To create an OIC integration from scratch, see Create Integrations in Using Integrations in Oracle Integration.

Note: As we’ve used an existing integration, you may not be able to execute all the steps in this tutorial. Use this tutorial as a reference when you need to employ an OIC integration in your process application.

What Do You Need?


section 1Create a Simple Application

First, let’s create a process application that uses the OIC integration.

  1. Create an application.
    In the Integration navigation pane, click Processes. On the Process Applications page, click Create and select Create an Application. Enter a name (WeatherData) and click Create.
  2. Create a structured process (Weather Process) that starts with a form, add an Approve human task to it, and rename the elements as follows:
    Weather Process image
    Description of the illustration weather-process.png
  3. Add a web form and configure presentations for the Input City and Display Result elements. Refer to the previous tutorial in this learning path for detailed steps.
  4. Save the application.

section 2Activate the OIC Integration

You must activate the integration to the runtime environment before you can use it in your process.

  1. Navigate to the Integration home page, and click Integrations.
  2. Browse for the required integration (WeatherConnector1) on the page.
  3. In the row of the integration, click the Activate icon, and then click Activate when prompted.
    Weather Connector image
    Description of the illustration oic-connector.png
  4. Wait for the icon to turn green Activate icon, indicating that it is activated. Refresh the page if required.

section 3Use the Integration in Your Process

Now, let’s use this integration in the process you created previously.

  1. Return to the Integration home page and click Processes.
  2. Open the application you created, and then open Weather Process.
  3. Expand Integrations on the Elements palette, drag an Integration element to the process, and drop it before the Display Result task.
    Weather Process with Integration Element
    Description of the illustration weather-oic.png
  4. Configure the integration element.
    • Select the element, click Menu Menu icon, and select Open Properties. In the resulting pane, click Use an Integration Use Integration icon next to the Integration field. The Use an Integration dialog appears, displaying the activated OIC integration.
      Use an Integration dialog box
      Description of the illustration use-integrations.png
    • Select the integration and click Create.
  5. Perform the necessary input and output data associations for the integration element.
  6. Test your application as an end user.

more informationWant to Learn More?