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

# packageBuild (OPA)

> Builds OPA artifacts, including Process Applications and Decision Applications, from Source Control Management or an OPA cloud instance. Creates a zip

Builds OPA artifacts, including Process Applications and Decision Applications, from Source Control Management or an OPA cloud instance. Creates a zip artifact to be used with the packageDeploy operation. If populated from the backend (source OPA instance), the components will be exported.

This plugin can work with Process Application and Decision Application files populated from anywhere in a source system.

> [!NOTE]
>
> Either **FDOPA\_CLOUD\_ACCOUNT\_CODE** Target property value or **FDOPA\_INP\_CLOUD\_ACCOUNT\_CODE** plugin input value should exist. When both exist, the 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 a 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>OPA Account</td><td>`FDOPA_CLOUD_ACCOUNT_CODE`</td><td>No</td><td>The OPA account includes essential properties such as the URL, Username, Password, and OAuth details for the OPA instance. You can manage the OPA account via the **Integrations > Cloud** page.See [Configuring OPA Cloud Account](https://docs.flexagon.com/flexdeploy-11-2-documentation/flexdeploy-plugin-guides/flexdeploy-oracle-process-automation-plugin-guide/appendix-opa/configuring-opa-cloud-account.md) for additional details.</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>Project File Includes\
</td><td>`FD_PARTIAL_FILE_INCLUDES`</td><td> No</td><td>Controls files included in Project Files. Enter expressions separated by ##. Leave empty to select all files. Begin or end the expression with \* for simple wildcards. Otherwise, regex\
is used. (e.g. /java/*##*.java##*person*##/java/.*\[tT]est.*.java)</td></tr><tr><td>Project File Excludes</td><td>`FD_PARTIAL_FILE_EXCLUDES`</td><td> No</td><td>Controls files excluded from Project Files. Enter expressions separated by ##. Leave empty to select all files. Begin or end the expression with \* for simple wildcards. Otherwise,\
regex is used. (e.g. /java/*##*.java##*person*##/java/.*\[tT]est.*.java)</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>OPA Account</td><td>`FDOPA_INP_CLOUD_ACCOUNT_CODE`</td><td>No</td><td>The OPA account with all the required properties like Base URI, Username and Password for running OPA Instance.</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.
