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

# retrieveArtifacts2 (Artifactory)

> This operation provides an easy way to get an artifact from Artifactory and store it in the FlexDeploy artifact repository to use in a FlexDeploy work

This operation provides an easy way to get an artifact from Artifactory and store it in the FlexDeploy artifact repository to use in a FlexDeploy workflow.

# Artifactory Account 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>Artifactory URL</td><td>`FDARTIFACCT_URL`</td><td>Yes</td><td>The URL of Artifactory Repository Manager (e.g. `http://[host]:[port]`).</td></tr><tr><td>Artifactory Username</td><td>`FDARTIFACCT_USERNAME`</td><td>Yes</td><td>User to connect to Artifactory as.</td></tr><tr><td>Artifactory Password</td><td>`FDARTIFACCT_PASSWORD`</td><td>Yes</td><td>The password for the Artifactory User.</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>Artifactory Account</td><td>`FDARTIF_ARTIFACT_REPOSITORY_ACCOUNT_CODE`</td><td>Yes</td><td>The Artifactory account with all the required properties like Instance Url, Username, and Password for running Artifactory Instance. Configure this under Topology - Integrations - CI Server.</td></tr><tr><td>Artifactory Path</td><td>`FDARTIF_REMOTE_PATH`</td><td>Yes</td><td>Path to upload an artifact in Artifactory. (e.g. generic-local/flexagon/PluginTest1/1.1/example.war)</td></tr><tr><td>Download To Directory</td><td>`FDARTIF_DOWNLOAD_TO_DIR`</td><td>No</td><td>Specify the Path to store the Artifact downloaded from Artifactory. If no inputs given, FlexDeploy's default Artifacts dir will be used.</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.
