> ## 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.

# runIntegration

> Runs an Integration Flow that supports scheduling on the OIC server. Integrations that don't support scheduling cannot be run. Either FDOIC\ CLOUD\ AC

Runs an Integration Flow that supports scheduling on the OIC server. Integrations that don't support scheduling cannot be run.

> [!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-1-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>Yes</td><td>The identifier (code) of the integration being activated.This may not be the same as the name of the integration.Prefix with PROJECTID- to refer to an integration in a project.</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>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="6c6ae715-df08-4b3f-aa54-534d44956afc"><li local-id="b37845b2-df9c-4e01-9527-0837ae18f091">**LastUpdateTime** - Version is decided based on last updated time</li><li local-id="a79d38ab-adc6-4b97-ac0b-81e132894992">**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>

# Artifacts

This operation doesn’t consume or produce any artifacts.

# 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.
