> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# exportIntegration

> Exports an integration from Oracle Integration Cloud as a .iar artifact that can be imported into different Integration Cloud Instances. If the connec

Exports an integration from Oracle Integration Cloud as a **.iar** artifact that can be imported into different Integration Cloud Instances. If the connections are being managed by the operation, then a separate file will be created for each connection and any associated attachments.  This operation will retrieve all needed connections from the integration. Lookups are also included in the integration export.

Following plugin operation in workflow

![image-20250508-144740.png](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12596415940.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=70b59995e4de344cf2421c123116c884)

exports as shown below. Note that you can use absolute path in Export Folder to export in a folder other than artifacts (FD\_ARTIFACTS\_DIR).

![image-20250508-144920.png](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12596415943.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=125fe89aef6c8ca875430aa7d55fa7bd)

> [!NOTE]
>
> Either **FDOIC\_CLOUD\_ACCOUNT\_CODE** Target property value or **FDOIC\_INP\_CLOUD\_ACCOUNT\_CODE** plugin input value should exist. When both exists, plugin input value will take precedence. See [Creating/Editing a Cloud Account and Provider](https://docs.flexagon.com/flexdeploy-11-2-documentation/flexdeploy-users-guide/integrations/cloud-account-and-provider.md) for details on how to setup Cloud Account for OIC.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>OIC Account</td><td>`FDOIC_CLOUD_ACCOUNT_CODE`</td><td>No</td><td>The OIC account with all the required properties like Base URI, Username and Password for running OIC Instance.</td></tr></tbody></table>

# Project Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Integration Identifier</td><td>`FDOIC_INTEGRATION_IDENTIFIER`</td><td>No</td><td>The identifier (code) of the integration being deployed</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>OIC Account</td><td>`FDOIC_INP_CLOUD_ACCOUNT_CODE`</td><td>No</td><td>The OIC account with all the required properties like Base URI, Username and Password for running OIC Instance.</td></tr><tr><td>Integration Version</td><td>`FDOIC_INP_INTEGRATION_VERSION`</td><td>No</td><td>Optional version of the integration, leave blank for latest. (e.g. 01.02.0000)</td></tr><tr><td>Manage Connections</td><td>`FDOIC_INP_MANAGE_CONNECTIONS`</td><td>No</td><td>Boolean to indicate whether connections for this integration should be exported as an artifact. Default is true.  The import Integration operation will automatically deploy any connections it finds in artifacts.</td></tr><tr><td>Integration Identifier</td><td>`FDOIC_INP_INTEGRATION_IDENTIFIER`</td><td>No</td><td>Optional input for the integration identifier. This is intended to be used in a utility fashion. If this operation is being used in a standard build workflow, then the project property should be used.</td></tr><tr><td>OIC Version Logic</td><td>`FDOIC_INP_VERSION_LOGIC`</td><td>No</td><td>A select option deciding how the version should be found if no version is specified. <ul local-id="4572c3b0-ae14-3ddd-8dcd-f1da3db7c6f6"><li local-id="c25b245c-77a3-3ea3-9043-e8093c1a7b72">**LastUpdateTime** - Version is decided based on last updated time</li><li local-id="7ee981d2-ff1e-361e-a99f-03138e898d86">**LatestNamedVersion** - Version is decided based upon the largest named version. I.E 3.0.1 would be chosen over 2.2.5</li></ul></td></tr></tbody></table>

# Outputs

<table><colgroup><col /><col /><col /></colgroup><tbody><tr><th>**Output Name**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>`FDOIC_OUT_INTEGRATION_VERSION`</td><td>No</td><td>The version number of the exported integration</td></tr></tbody></table>

# Artifacts

This operation produces artifacts that will be stored in the artifacts repository.

# Endpoint Selection

This operation will select all available endpoints associated to the Target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
