How to use Lookups in Oracle OIC

In Oracle Integration Cloud (OIC), a “lookup” typically refers to a feature or component that allows you to store and retrieve key-value pairs or reference data within your integration flows. We us Lookup tables to map values between different systems, enrich data, or perform data transformations. We can define one lookup and use it in multiple integrations. Lookups in Oracle OIC can also be stored multiple values (columns) against a key. Refer to link for more details. Here’s a step by step overview of how we can create lookup and use it in integration.

Create Lookups in Oracle OIC

In OIC, we can create lookup tables within the Oracle Integration web console. Navigate to the “Integrations” section, select your integration, and then look for the “Lookups” option. We will create a Person Lookup and use it to derive person name against ID key value.

Create a lookup in OIC

Define Structure and Enter Data

We can define the structure of lookup table by specifying the key and value columns. The key is typically used to search for a specific value, and the value is the data you want to retrieve. We will name key column as Person ID and value as Person Name. We can enter data manually on this same screen or use import feature to load via excel file.

Define Lookups in Oracle OIC

Using Lookups in Integrations

We can use lookup operations to retrieve values based on specified keys in integration. Let us create an APP Driven REST integration and take Personid as a parameter as shown below

Define Rest service for lookup with a person id parameter

Your response payload should look like this

OIC Rest service for lookup response payload

Now we will use lookupValue operations to map personid and retrieve person name in design canvas

map person id to person name from Lookups in Oracle OIC

Now that our simple lookup integration is ready, let’s activate and test it.

Activate and test OIC lookup integration

Lookups Additional Operations

OIC provides some additional operations for lookups other than create and import. These operations may include export lookup values or even delete a lookup as shown below. Before deletion, please ensure lookup is not used in any integration.

Additional operations for Lookups in Oracle OIC
How to use Lookups in Oracle OIC

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top